diff options
author | Simon Holywell <[email protected]> | 2014-06-27 13:45:39 +0100 |
---|---|---|
committer | Simon Holywell <[email protected]> | 2014-06-27 13:45:39 +0100 |
commit | a7f20ee1b89123b68d47e9d17e9964c495c183d2 (patch) | |
tree | d100cd18653a274449bfc47879a5ce8bd6c83d39 /idiorm.php | |
parent | b0922d8719a94e3a0e0e4a0ca3876f4f91475dcf (diff) |
Issue #224 having_id_is undefined variable $value
Diffstat (limited to 'idiorm.php')
-rw-r--r-- | idiorm.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1469,8 +1469,8 @@ */ public function having_id_is($id) { return (is_array($this->_get_id_column_name())) ? - $this->having($this->_get_compound_id_column_values($value)) : - $this->having($this->_get_id_column_name(), $id); + $this->where($this->_get_compound_id_column_values($id), null) : + $this->where($this->_get_id_column_name(), $id); } /** |