Fix for undefined $count variable
-
There are two occurrences of
for ($i=0;$i<$count_posts;$i++)
Each of them can be altered like this
for ($i=0,$count=0;$i<$count_posts;$i++)
in order to get rid of the undefined variable
$count
notices in debug mode.
- The topic ‘Fix for undefined $count variable’ is closed to new replies.