Fix index bug
parent
9b6f98d2c8
commit
f300ebfbd1
|
@ -10,7 +10,7 @@
|
||||||
$counter = 0;
|
$counter = 0;
|
||||||
foreach ($newsFile as $news) {
|
foreach ($newsFile as $news) {
|
||||||
$nesto = str_getcsv($news);
|
$nesto = str_getcsv($news);
|
||||||
if($nesto.length < 3) continue;
|
if(count($nesto) < 3) continue;
|
||||||
$timesArray[$counter] = $nesto[0];
|
$timesArray[$counter] = $nesto[0];
|
||||||
$imagesArray[$counter] = $nesto[1];
|
$imagesArray[$counter] = $nesto[1];
|
||||||
$newsArray[$counter] = $nesto[2];
|
$newsArray[$counter] = $nesto[2];
|
||||||
|
|
Loading…
Reference in New Issue