Menu

#10 Learn as Spam / Learn as FP links don't appear

v_3.2.0
open
nobody
None
5
2007-03-13
2007-03-13
No

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.

Discussion

  • veit

    veit - 2007-06-01

    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"?

     
  • Neil McMonagle

    Neil McMonagle - 2007-06-02

    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)

     
  • veit

    veit - 2007-06-02

    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.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.