diff options
author | Florian Pritz <bluewind@xinu.at> | 2012-05-12 16:52:24 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2012-05-12 16:52:24 +0200 |
commit | acbe0e4cd2c3b839a5f6f499eea059977976cdba (patch) | |
tree | c1cc75983def8b6980a7aea75b7bc998abcc605e /application/models/file_mod.php | |
parent | 82f6b5feb8f698b94cab52bcadefa6130d7f47f7 (diff) |
fix missing object initialization and properly declare class variables
var is deprecated since ages and in strict mode we have to initialize
$this->var as a generic object before using it.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/models/file_mod.php')
-rw-r--r-- | application/models/file_mod.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/models/file_mod.php b/application/models/file_mod.php index ab273cf58..d977d1e70 100644 --- a/application/models/file_mod.php +++ b/application/models/file_mod.php @@ -9,7 +9,7 @@ class File_mod extends CI_Model { - var $data; + public $data; function __construct() { |