Changeset 6543


Ignore:
Timestamp:
06/17/10 15:51:52 (8 years ago)
Author:
nikrou
Message:

Bug 1733 fixed : merge from trunk
String values must be delimited by single quotes in queries

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.1/admin/include/themes.class.php

    r5874 r6543  
    152152    id 
    153153  FROM '.THEMES_TABLE.' 
    154   WHERE id != "'.$theme_id.'" 
     154  WHERE id != \''.$theme_id.'\' 
    155155;'; 
    156156          $result = pwg_query($query); 
     
    271271    user_id 
    272272  FROM '.USER_INFOS_TABLE.' 
    273   WHERE theme = "'.$default_theme.'" 
     273  WHERE theme = \''.$default_theme.'\' 
    274274;'; 
    275275    $user_ids = array_unique( 
Note: See TracChangeset for help on using the changeset viewer.