Ignore:
Timestamp:
May 26, 2011, 11:36:51 PM (14 years ago)
Author:
grum
Message:

fix bug:2281

File:
1 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' ";
Note: See TracChangeset for help on using the changeset viewer.