Skip to content

Commit 27c17b1

Browse files
authored
Merge pull request #298 from svennd/patch-1
Update MY_Model.php
2 parents 5340d6c + 1d95846 commit 27c17b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/MY_Model.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1424,7 +1424,7 @@ private function _set_relationships()
14241424
{
14251425
$pivot_local_key = $this->table.'_'.$this->primary_key;
14261426
$pivot_foreign_key = $foreign_table.'_'.$foreign_key;
1427-
$get_relate = (isset($relation[3]) && ($relation[3]===TRUE())) ? TRUE : FALSE;
1427+
$get_relate = (isset($relation[3]) && ($relation[3]===TRUE)) ? TRUE : FALSE;
14281428
}
14291429
}
14301430

0 commit comments

Comments
 (0)