Permalink
Browse files

updating the check to use the object's property instead of the undefi…

…ned variable
  • Loading branch information...
1 parent 3d95fd7 commit 50aa30f46723ee61a5afdf4da800accf0a91ba0b @caseysoftware caseysoftware committed Jan 19, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 OpenVBX/libraries/OpenVBX.php
@@ -224,7 +224,7 @@ public static function schemaVersion()
if ($ci->db)
{
$ci->load->model('vbx_settings');
- if (!$cache && $ci->cache->enabled())
+ if (!$ci->cache && $ci->cache->enabled())
{
$ci->cache->enabled(false);
$reenable_cache = true;

0 comments on commit 50aa30f

Please sign in to comment.