8000 Fix bug where input parameters were sent as part-indexed, part associati... by hellogerard · Pull Request #71 · j4mie/idiorm · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix bug where input parameters were sent as part-indexed, part associati... #71

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions idiorm.php
55DE
Original file line number Diff line number Diff line change
Expand Up @@ -1267,7 +1267,7 @@ public function save() {
$query = array();

// remove any expression fields as they are already baked into the query
$values = array_diff_key($this->_dirty_fields, $this->_expr_fields);
$values = array_values(array_diff_key($this->_dirty_fields, $this->_expr_fields));

if (!$this->_is_new) { // UPDATE
// If there are no dirty values, do nothing
Expand Down Expand Up @@ -1493,4 +1493,4 @@ protected function _str_replace_outside_quotes_cb($matches) {
/**
* A placeholder for exceptions eminating from the IdiormString class
*/
class IdiormStringException extends Exception {}
class IdiormStringException extends Exception {}
0