Changeset 11071


Ignore:
Timestamp:
05/26/11 23:36:51 (9 years ago)
Author:
grum
Message:

fix bug:2281

Location:
extensions/AMenuManager
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/AMenuManager/amm_root.class.inc.php

    r9113 r11071  
    365365            LEFT JOIN ".$this->tables['personalised_langs']." ptl 
    366366            ON pt.id=ptl.id 
    367           WHERE (ptl.lang = '*' OR ptl.lang = '".$lang."') "; 
     367          WHERE (ptl.lang = '*' OR ptl.lang = '".pwg_db_real_escape_string($lang)."') "; 
    368368 
    369369    if($onlyVisible) $sql.=" AND pt.visible = 'y' "; 
  • extensions/AMenuManager/main.inc.php

    r11036 r11071  
    198198|         |            |   . randomPictureJS is loaded even if menu is hidden  
    199199|         |            | 
    200 |         |            | 
    201 |         |            | 
     200|         |            | * mantis bug:2281 
     201|         |            |   . Custom language value is use in queries unescaped.  
    202202|         |            | 
    203203|         |            | 
Note: See TracChangeset for help on using the changeset viewer.