html2text.inc -- use of uninitialized variable $iInText
Status: Beta
Brought to you by:
jhsolorz
I run php with
error_reporting = E_ALL
and got the Notice of uninitialized variable for $iInText.
By making $iInText another private field of the
Html2Text class (as shown below), initilized to false,
all appears to be working well.
class Html2Text {
// Private fields
var $iInText = false; // new field
var $iCurrentLine = "";