Changeset 6543 for branches/2.1/admin


Ignore:
Timestamp:
Jun 17, 2010, 3:51:52 PM (14 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.