Commit 6d45376b authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Fix warnings for news.php

parent e6b902fa
......@@ -29,6 +29,7 @@
$file=fopen("news.msg","r");
$count = 0;
$msg = "";
if(!$file)
return(0);
......@@ -47,7 +48,8 @@
$date = $ex[1];
$title = $ex[2];
$short = $ex[3];
$remain = $ex[4];
if( count($ex) > 4)
$remain = $ex[4];
if( $count ++ < 15 ) {
if( $mockup )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment