diff options
author | Simon Holywell <[email protected]> | 2013-01-03 15:31:07 +0000 |
---|---|---|
committer | Simon Holywell <[email protected]> | 2013-01-03 15:31:07 +0000 |
commit | 3439ca1d152acf55ee43c81831d1098835dac58e (patch) | |
tree | c104537f4ed5b1b2fd5db07fc76c61168d461eee /idiorm.php | |
parent | b241439aec5dd4123e9d6d4fbf5f60364b027797 (diff) |
Issue #90 When using set_expr alone it doesn't trigger query creation
Diffstat (limited to 'idiorm.php')
-rw-r--r-- | idiorm.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1329,7 +1329,7 @@ if (!$this->_is_new) { // UPDATE // If there are no dirty values, do nothing - if (count($values) == 0) { + if (empty($values) && empty($this->_expr_fields)) { return true; } $query = $this->_build_update(); |