Commit bda4981
[BUGFIX] Use the return value of the UPDATE statement correctly in the
executeStatement() returns:
* false → SQL execution failed (real error)
* 0 → UPDATE executed successfully, but no data changed
* 1+ → UPDATE executed and changed data
Fixes: #4499LastSearchesRepository::update method1 parent 4e7c8be commit bda4981
File tree
1 file changed
+1
-1
lines changed- Classes/Domain/Search/LastSearches
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
| 142 | + | |
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| |||
0 commit comments