summaryrefslogtreecommitdiffstats
path: root/system/libraries/Controller.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/libraries/Controller.php')
-rw-r--r--system/libraries/Controller.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/libraries/Controller.php b/system/libraries/Controller.php
index f00a7262b..ff914d131 100644
--- a/system/libraries/Controller.php
+++ b/system/libraries/Controller.php
@@ -239,7 +239,7 @@ class Controller extends CI_Base {
}
$obj =& get_instance();
- if (in_array($name, $obj->_ci_models))
+ if (in_array($name, $obj->_ci_models, TRUE))
{
return;
}
@@ -350,7 +350,7 @@ class Controller extends CI_Base {
foreach ($autoload['libraries'] as $item)
{
- if ( ! in_array($item, $exceptions))
+ if ( ! in_array($item, $exceptions, TRUE))
{
$this->_ci_load_class($item);
}
@@ -566,7 +566,7 @@ class Controller extends CI_Base {
if (class_exists('Scaffolding')) return;
- if ( ! in_array($this->uri->segment(3), array('add', 'insert', 'edit', 'update', 'view', 'delete', 'do_delete')))
+ if ( ! in_array($this->uri->segment(3), array('add', 'insert', 'edit', 'update', 'view', 'delete', 'do_delete'), TRUE))
{
$method = 'view';
}