Skip to content

Commit

Permalink
Fixing an accidental change in list_columns from previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jheathco committed Aug 20, 2009
1 parent 62184bf commit a1e27eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/orm.php
Original file line number Diff line number Diff line change
Expand Up @@ -963,7 +963,7 @@ public function reload_columns($force = FALSE)
{
if ($force === TRUE OR empty($this->_table_columns))
{
if ( ! isset(ORM::$_column_cache[$this->_object_name]))
if (isset(ORM::$_column_cache[$this->_object_name]))
{
// Use cached column information
$this->_table_columns = ORM::$_column_cache[$this->_object_name];
Expand Down

0 comments on commit a1e27eb

Please sign in to comment.