In my conf/manager.php I have this line:
$lists = array("messages"=>"WHERE pid=0");
which is right, according to the ITEM_MANAGER_README.txt example:
/* The name of your lists and their corresponding database constraints */
$lists = array("mylist"=>"WHERE approved='1' AND saved='1'");
However when I run my getLists function this is printed to the browser
window:
SQL: SELECT id FROM mod_phpwsbb_messages WHERE (WHERE pid=0)
syntax error
So I'm thinking the doc might be incorrect? Of course when have just
"pid=0" I don't get any items returned, despite them having pid of 0.
Don.
|