Changeset 6542


Ignore:
Timestamp:
Jun 17, 2010, 3:49:24 PM (10 years ago)
Author:
nikrou
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/themes.class.php

    r5874 r6542  
    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.