Changeset 6655 for branches/2.1/include


Ignore:
Timestamp:
Jul 3, 2010, 2:22:58 PM (14 years ago)
Author:
nikrou
Message:

Bug 1755 fixed : Needs single quotes in queries official plugins
Merge from trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.1/include/functions_category.inc.php

    r6364 r6655  
    432432        $query='
    433433UPDATE '.OLD_PERMALINKS_TABLE.' SET last_hit=NOW(), hit=hit+1
    434   WHERE permalink="'.$permalinks[$i].'" AND cat_id='.$cat_id.'
     434  WHERE permalink=\''.$permalinks[$i].'\' AND cat_id='.$cat_id.'
    435435  LIMIT 1';
    436436        pwg_query($query);
Note: See TracChangeset for help on using the changeset viewer.