Fix non-static notice in logs. Ref #32

pull/1/head
Victor Dubiniuk 11 years ago
parent f57336dfe6
commit 06ea1d914e

@ -17,7 +17,7 @@ class Db {
* @param Array $array data
* @return String string of '?' placeholders matching the number of elements in array
*/
public function buildPlaceholders($array){
public static function buildPlaceholders($array){
$count = count($array);
$placeholders = array_fill(0, $count, '?');
$stmt = implode(', ', $placeholders);

Loading…
Cancel
Save