# HG changeset patch # User Ben Schmidt # Date 1280500149 -36000 # Node ID d03fae037eb4aa3260f2b43466f1a03189ec0c6e # Parent b37f66e0852bb811b6a5857e0ce20fca2723dcdc Avoid a warning about using a string as an array in php-admin diff -r b37f66e0852b -r d03fae037eb4 contrib/web/php-admin/htdocs/edit.php --- a/contrib/web/php-admin/htdocs/edit.php Sat Jul 31 00:28:40 2010 +1000 +++ b/contrib/web/php-admin/htdocs/edit.php Sat Jul 31 00:29:09 2010 +1000 @@ -54,7 +54,7 @@ $value = ""; if(!is_file($file)) - $lines = ""; + $lines = array(""); else $lines = file($file);