Jump to content

reporting


Recommended Posts

while working on my custom report i found a small bug.. not sure how many files this is in (assuming you might just copy and paste to other reports when you created them)

 

but here is what i found.

 

take a look in the clients.php file in the reporting modules

 

in this section

 

$i=0;
   foreach ($filterfields AS $k=>$v) 
   {
       $reportdata["headertext"] .= '<td width="20%"><input type="checkbox" name="incfields[]" value="'.$k.'" id="fd'.$k.'"';
       if (in_array($k,$incfields)) $reportdata["headertext"] .= ' checked';
       $reportdata["headertext"] .= ' /> <label for="fd'.$k.'">'.$v.'</labe></td>'; $i++;
       if (($i%5)==0) $reportdata["headertext"] .= '</tr><tr>';
   }
   $reportdata["headertext"] .= '</tr></table></td></tr>';


// this line
<label for="fd'.$k.'">'.$v.'</labe>

you have labe not label

 

you might want to check the other reports as well..

 

thanks ;)

Link to comment
Share on other sites

  • 3 weeks later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated