You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove & reference declaration from db_query to avoid warning (#870)
* Remove & reference declaration from db_query to avoid warning
Also adjusts the code that calls the function with a prepended &, as that would have caused a new warning. Fixes#848
* Fix reference return warning for getFile
Is also not returning a sharable variable
* document change
Copy file name to clipboardexpand all lines: include/db/mysqli.inc.php
+1-1
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ function serendipity_db_in_sql($col, &$search_ids, $type = ' OR ') {
58
58
* @param boolean If true, the executed SQL error is known to fail, and should be disregarded (errors can be ignored on DUPLICATE INDEX queries and the likes)
59
59
* @return mixed Returns the result of the SQL query, depending on the input parameters
* @param boolean If true, the executed SQL error is known to fail, and should be disregarded (errors can be ignroed on DUPLICATE INDEX queries and the likes)
200
200
* @return mixed Returns the result of the SQL query, depending on the input parameters
* @param boolean If true, the executed SQL error is known to fail, and should be disregarded (errors can be ignroed on DUPLICATE INDEX queries and the likes)
216
216
* @return mixed Returns the result of the SQL query, depending on the input parameters
* @param boolean If true, the executed SQL error is known to fail, and should be disregarded (errors can be ignroed on DUPLICATE INDEX queries and the likes)
204
204
* @return mixed Returns the result of the SQL query, depending on the input parameters
Copy file name to clipboardexpand all lines: include/db/sqlite.inc.php
+1-1
Original file line number
Diff line number
Diff line change
@@ -209,7 +209,7 @@ function serendipity_db_in_sql($col, &$search_ids, $type = ' OR ') {
209
209
* @param boolean If true, the executed SQL error is known to fail, and should be disregarded (errors can be ignored on DUPLICATE INDEX queries and the likes)
210
210
* @return mixed Returns the result of the SQL query, depending on the input parameters
Copy file name to clipboardexpand all lines: include/db/sqlite3.inc.php
+1-1
Original file line number
Diff line number
Diff line change
@@ -218,7 +218,7 @@ function serendipity_db_in_sql($col, &$search_ids, $type = ' OR ') {
218
218
* @param boolean If true, the executed SQL error is known to fail, and should be disregarded (errors can be ignroed on DUPLICATE INDEX queries and the likes)
219
219
* @return mixed Returns the result of the SQL query, depending on the input parameters
Copy file name to clipboardexpand all lines: include/db/sqlite3oo.inc.php
+1-1
Original file line number
Diff line number
Diff line change
@@ -224,7 +224,7 @@ function serendipity_db_in_sql($col, &$search_ids, $type = ' OR ') {
224
224
* @param boolean If true, the executed SQL error is known to fail, and should be disregarded (errors can be ignroed on DUPLICATE INDEX queries and the likes)
225
225
* @return mixed Returns the result of the SQL query, depending on the input parameters
0 commit comments