FIXED load_table_page API almost working ;-)

DAF ID3000

New member
Hello Eugenio.

I got a warning when I try to call load_table_page API, and the page is not loading:

PHP Warning: Undefined variable $dadabik_main_file in /.../files/include/classes/ddb_api.php on line 343

The cause seems to be a missing $dadabik_main_file recall from global var on line 307 in ddk_api.php.

IMHO Line 307 should be: global $site_url, $dadabik_main_file;
I added it, tested, and it fixes the problem.

Thanks in advance if you can include this fix in the next release to avoid manual updates of Dadabik core files...

Regards.
 
Top