#4 Fix. Error in line 236

open
nobody
None
5
2004-03-12
2004-03-12
Anonymous
No

I get this PHP error on line 236 (PHP 4.3.3 -winzozz -
with panachart-0.9.2-alpha)

if($m_withLegend){
//
}

I replaced $m_withLegend with $this->m_withLegend
and all work well now

Discussion

  • Logged In: YES
    user_id=562080

    I noticed this error as well. Once thing that should be
    noted is that you have to have php notice errors turned on
    in you php.ini file. The output form php is:

    <br />
    <b>Notice</b>: Undefined variable: m_withLegend in
    <b>/home/mike/public_html/chart/panachart.php</b> on line
    <b>236</b><br />

    Since it is a notice message, you won't see it unless the
    E_NOTICE flag is set in the error_reporting option.