Fix non-static notice in logs. Ref #32
This commit is contained in:
parent
f57336dfe6
commit
06ea1d914e
@ -17,7 +17,7 @@ class Db {
|
|||||||
* @param Array $array data
|
* @param Array $array data
|
||||||
* @return String string of '?' placeholders matching the number of elements in array
|
* @return String string of '?' placeholders matching the number of elements in array
|
||||||
*/
|
*/
|
||||||
public function buildPlaceholders($array){
|
public static function buildPlaceholders($array){
|
||||||
$count = count($array);
|
$count = count($array);
|
||||||
$placeholders = array_fill(0, $count, '?');
|
$placeholders = array_fill(0, $count, '?');
|
||||||
$stmt = implode(', ', $placeholders);
|
$stmt = implode(', ', $placeholders);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user