Learn as Spam / Learn as FP links don't appear
Brought to you by:
perlstalker,
tuxick
Using SquirrelMail 1.4.9a and sasql 3.2.0, the "Learn as Spam" / "Learn as False Positive" links don't appear.
Traced to function sasql_add_sa_wblist in sasql_hooks.php and the include / include_once issue documented against most other functions in this file.
Changed the include_once on sasql_conf.php to an include and I get the links back.
Logged In: YES
user_id=1512737
Originator: NO
Got the same problem. But changing:
function sasql_add_sa_wblist () {
include_once(SM_PATH.'plugins/sasql/sasql_conf.php');
to:
function sasql_add_sa_wblist () {
include(SM_PATH.'plugins/sasql/sasql_conf.php');
only brings back the "Learn as Spam" link. What about "Learn as false positive"?
Logged In: YES
user_id=930509
Originator: YES
The "Learn as FP" link appears when viewing messages in the Spam folder (as defined by $spam_folder in sasql_conf.php)
Logged In: YES
user_id=1512737
Originator: NO
Yes, you're right. I remembered it incorrectly. Would be a good idea if your suggestions would be updated in the current download package by the maintainer.
Thanks.