Avoid undefined variable notice

This commit is contained in:
Madhura Jayaratne 2011-12-17 18:44:33 +05:30
parent c03228e7f7
commit 902074a314

View File

@ -225,6 +225,7 @@ if (isset($plugin_list)) {
// loop through results header and set initial col widths/ titles/ alignment
// if a col title is less than the starting col width, reduce that column size
$colFits = array();
for ($i = 0; $i < $this->numFields; $i++) {
$stringWidth = $this->getstringwidth($this->fields[$i]->name) + 6 ;
// save the real title's width