Changeset 1589

Show
Ignore:
Timestamp:
12/19/2007 01:53:08 PM (13 months ago)
Author:
Shadowhand
Message:

Fixed a typo in ORM.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/libraries/ORM.php

    r1534 r1589  
    165165                if ($key != 'id' AND isset($this->object->$key)) 
    166166                { 
    167                         if ($this->object->$key !== $value) 
     167                        if ($this->object->$key != $value) 
    168168                        { 
    169169                                // Set new value 
     
    546546                                return FALSE; 
    547547 
    548                         if ( ! empty($this->has_any_belongs_to_many)) 
     548                        if ( ! empty($this->has_and_belongs_to_many)) 
    549549                        { 
    550550                                // Foreign WHERE for this object