Fix non-static notice in logs. Ref #32

This commit is contained in:
Victor Dubiniuk 2013-09-13 14:25:53 +03:00
parent f57336dfe6
commit 06ea1d914e

View File

@ -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);