mlmmj

changeset d03fae037eb4

Avoid a warning about using a string as an array in php-admin
author Ben Schmidt
date Sat, 31 Jul 2010 00:29:09 +1000
parents b37f66e0852b
children 7d7149bce08e
files contrib/web/php-admin/htdocs/edit.php
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/contrib/web/php-admin/htdocs/edit.php	Sat Jul 31 00:28:40 2010 +1000
     1.2 +++ b/contrib/web/php-admin/htdocs/edit.php	Sat Jul 31 00:29:09 2010 +1000
     1.3 @@ -54,7 +54,7 @@
     1.4      $value = "";
     1.5  
     1.6      if(!is_file($file))
     1.7 -	$lines = "";
     1.8 +	$lines = array("");
     1.9      else
    1.10  	$lines = file($file);
    1.11