Commit 85e9d213 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Fix news rendering warning

parent ef5c47b5
......@@ -36,7 +36,8 @@
$date = $ex[1];
$title = $ex[2];
$short = $ex[3];
$remain = $ex[4];
if( count($ex) >= 4)
$remain = $ex[4];
if( $count ++ < 15 ) {
$newItem = $TestFeed->createNewItem();
......
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