← Back to team overview

anewt-developers team mailing list archive

[Branch ~uws/anewt/anewt.uws] Rev 1778: [database] Fixup default SQL template fillv() parameter

 

------------------------------------------------------------
revno: 1778
committer: Wouter Bolsterlee <uws@xxxxxxxxx>
branch nick: anewt.uws
timestamp: Fri 2010-03-26 22:45:13 +0100
message:
  [database] Fixup default SQL template fillv() parameter
modified:
  database/sql-template.lib.php


--
lp:anewt
https://code.launchpad.net/~uws/anewt/anewt.uws

Your team Anewt developers is subscribed to branch lp:anewt.
To unsubscribe from this branch go to https://code.launchpad.net/~uws/anewt/anewt.uws/+edit-subscription.
=== modified file 'database/sql-template.lib.php'
--- database/sql-template.lib.php	2009-08-02 19:30:25 +0000
+++ database/sql-template.lib.php	2010-03-26 21:45:13 +0000
@@ -613,7 +613,7 @@
 	 *
 	 * \see AnewtDatabaseSQLTemplate::fill
 	 */
-	public function fillv($values=null)
+	public function fillv($values=array())
 	{
 		$n_placeholders = count($this->placeholders);
 		$escaped_values = array();