Changeset 6664 for trunk/plugins


Ignore:
Timestamp:
Jul 5, 2010, 11:18:14 PM (14 years ago)
Author:
nikrou
Message:

Bug 1763 fixed : [PostgreSQL] double quote used in queries

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/LocalFilesEditor/update_config.php

    r5196 r6664  
    3838  $query = '
    3939UPDATE ' . CONFIG_TABLE . '
    40 SET value = "' . $_POST['editarea'] . '"
    41 WHERE param="LocalFilesEditor"
     40SET value = \'' . $_POST['editarea'] . '\'
     41WHERE param=\'LocalFilesEditor\'
    4242LIMIT 1';
    4343  pwg_query($query);
Note: See TracChangeset for help on using the changeset viewer.