Changeset:
        c7a94a70a159
        
https://sourceforge.net/p/mrbs/hg-code/ci/c7a94a70a159ff1559ddb2f1dda594163a580eb0
Author:
        Campbell Morrison <[email protected]>
Date:
        Mon Nov 09 10:30:36 2015 +0000
Log message:

Fixed bug with unquoted column names.   See SF Support Requests #816.

diffstat:

 web/mrbs_sql.inc |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 93cf38dcad62 -r c7a94a70a159 web/mrbs_sql.inc
--- a/web/mrbs_sql.inc  Fri Nov 06 16:53:57 2015 +0000
+++ b/web/mrbs_sql.inc  Mon Nov 09 10:30:36 2015 +0000
@@ -1225,7 +1225,7 @@
           fatal_error(0, "Custom fields problem, '".$field['name']."' exists 
in entry table but not in repeat table");
         }
         
-        array_push($terms, "T." . $field['name']);
+        array_push($terms, "T." . sql_quote($field['name']));
         break;
     }
   }

------------------------------------------------------------------------------
Presto, an open source distributed SQL query engine for big data, initially
developed by Facebook, enables you to easily query your data on Hadoop in a 
more interactive manner. Teradata is also now providing full enterprise
support for Presto. Download a free open source copy now.
http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to