com web/master: Fix an odd default value: include/functions.inc

From: Date: Sun, 29 Dec 2013 08:28:34 +0000
Subject: com web/master: Fix an odd default value: include/functions.inc
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-17882@lists.php.net to get a copy of this message
Commit: 11aa634bae9efc96ed49a135b00873e944c48663 Author: Hannes Magnusson <bjori@mongodb.com> Sun, 29 Dec 2013 00:28:34 -0800 Parents: 9e9aed9c4eae4662a1601ff0a49e3eef4084c687 Branches: master Link: http://git.php.net/?p=web/master.git;a=commitdiff;h=11aa634bae9efc96ed49a135b00873e944c48663 Log: Fix an odd default value Changed paths: M include/functions.inc Diff: diff --git a/include/functions.inc b/include/functions.inc index 57a5beb..da4fd20 100644 --- a/include/functions.inc +++ b/include/functions.inc @@ -152,7 +152,7 @@ function db_get_one($query) // ----------------------------------------------------------------------------------- -function array_to_url($array,$overlay=0) { +function array_to_url($array,$overlay=array()) { if ($overlay) $array = array_merge($array,$overlay); $out = ""; while (list($k,$v) = each($array)) {

« previous php.webmaster (#17882) next »