fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [16164] typo


From: sigurdne
Subject: [Fmsystem-commits] [16164] typo
Date: Mon, 16 Jan 2017 03:31:37 -0500 (EST)

Revision: 16164
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=16164
Author:   sigurdne
Date:     2017-01-16 03:31:36 -0500 (Mon, 16 Jan 2017)
Log Message:
-----------
typo

Modified Paths:
--------------
    trunk/property/inc/class.sogeneric_.inc.php

Modified: trunk/property/inc/class.sogeneric_.inc.php
===================================================================
--- trunk/property/inc/class.sogeneric_.inc.php 2017-01-16 08:31:12 UTC (rev 
16163)
+++ trunk/property/inc/class.sogeneric_.inc.php 2017-01-16 08:31:36 UTC (rev 
16164)
@@ -531,13 +531,15 @@
                                                $data[$field['name']] = ',' . 
implode(',', $data[$field['name']]) . ',';
                                        }
                                }
+                               if ($field['type'] == 'varchar')
+                               {
+                                       $data[$field['name']] =  
$this->_db->db_addslashes(html_entity_decode($data[$field['name']]));
+                               }
                        }
 
                        $cols = array();
                        $vals = array();
 
-                       $data['descr'] = 
$this->_db->db_addslashes(html_entity_decode($value));
-
                        if (isset($data['extra']))
                        {
                                foreach ($data['extra'] as $input_name => 
$value)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]