ajbdev / phpsc2replay

Automatically exported from code.google.com/p/phpsc2replay
0 stars 1 forks source link

Debug Info #29

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
There are some debug info which appears in non-debug mode. It would be good to 
add 

if ($this->debug)

on line 497 in mpqfile.php for next release.

Original issue reported on code.google.com by amvn...@mail.ru on 28 Oct 2010 at 5:28

GoogleCodeExporter commented 8 years ago
Are you sure you have the latest files because I don't see anything like that 
in that file? Please confirm and also include the full code line.

Original comment by lauri.vi...@gmail.com on 28 Oct 2010 at 4:06

GoogleCodeExporter commented 8 years ago
Oh, sorry I mean line 496:

$this->printTable($this->blocktable);

It must be replaced with:

if ($this->debug)
   $this->printTable($this->blocktable);

Original comment by amvn...@mail.ru on 28 Oct 2010 at 4:40

GoogleCodeExporter commented 8 years ago
The erroneous debug statement has been removed altogether since it is 
unnecessary.

Original comment by lauri.vi...@gmail.com on 7 Nov 2010 at 6:56