Monday, 16 April 2012

joomla development Undefined variable: problem

after some changes to a component this warning was showing.

Notice: Undefined variable: html in /com_projectfork/sections/time/output/_nav.php on line 62 

on line 62 was a variable

$html .= '  blah blah';

by entering this on the line above I got rid of the warning.

$html = '';

No comments: