From 06ea1d914e2aa213a8869ed6bbfbd182c10bcc29 Mon Sep 17 00:00:00 2001 From: Victor Dubiniuk Date: Fri, 13 Sep 2013 14:25:53 +0300 Subject: [PATCH] Fix non-static notice in logs. Ref #32 --- lib/db.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/db.php b/lib/db.php index 8e5ed5ba..76a229cf 100644 --- a/lib/db.php +++ b/lib/db.php @@ -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);