PHP Classes

2 bugs with fixes

Recommend this page to a friend!

      Eyesis Data Grid Control  >  All threads  >  2 bugs with fixes  >  (Un) Subscribe thread alerts  
Subject:2 bugs with fixes
Summary:When running example 3 on my server
Messages:1
Author:Paul Johnston
Date:2009-07-22 16:49:44
 

  1. 2 bugs with fixes   Reply   Report abuse  
Picture of Paul Johnston Paul Johnston - 2009-07-22 16:49:44
I got 1 error about "filter" and 4 errors about "index".

The filter error was occurring on line 688 so I fixed it by adding:
$filter = '';
just after line 656 (i.e. undeclared)

the four errors for index occurred on line 751 (752 after above fix)
in the
if ($this->show_checkboxes)
statement
The fix for this seemed to be to change the call in the example to SetQuery()
from:
$x->setQuery("*", "people");
to:
$x->setQuery("*", "people", 'Id');