Skip to content

Commit

Permalink
Dev: Fix error in how insert or update checks if the pkey should be g…
Browse files Browse the repository at this point in the history
…iven
  • Loading branch information
AllanJard committed Nov 6, 2018
1 parent 6e4286d commit 273da87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Editor.php
Original file line number Diff line number Diff line change
Expand Up @@ -1895,7 +1895,7 @@ private function _insert_or_update_table ( $table, $values, $where=null )
}

// Use pkey only for the host table
$pkey = in_array( $table, $this->_pkey ) !== false ?
$pkey = in_array( $table, $this->_table ) !== false ?
$this->_pkey :
'';

Expand Down

0 comments on commit 273da87

Please sign in to comment.