Ignore:
Timestamp:
10/08/13 16:20:46 (11 years ago)
Author:
douglas
Message:

Ticket #0000 - Copiadas as alterações do Trunk. Versão final 2.5.1.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/phpgwapi/inc/class.preferences.inc.php

    r7655 r8232  
    567567                                        $value = $this->db->db_addslashes(serialize($value));   // this addslashes is for the database 
    568568                                        $app = $this->db->db_addslashes($app); 
    569  
     569                                        if ($this->db->Type == "pgsql" && isset($value['signature'])){ 
     570                                                $value['signature'] = pg_escape_string($value['signature']);                                                     
     571                                        } 
    570572                                        $this->db->query($sql = "INSERT INTO phpgw_preferences" 
    571573                                                . " (preference_owner,preference_app,preference_value)" 
Note: See TracChangeset for help on using the changeset viewer.