summaryrefslogtreecommitdiffstats
path: root/system/libraries/Upload.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/libraries/Upload.php')
-rw-r--r--system/libraries/Upload.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Upload.php b/system/libraries/Upload.php
index d7cf236f8..b3c625eb1 100644
--- a/system/libraries/Upload.php
+++ b/system/libraries/Upload.php
@@ -855,7 +855,7 @@ class CI_Upload {
$CI =& get_instance();
- if ( ! is_object($CI->security))
+ if ( ! isset($CI->security))
{
$CI->load('security');
}