]> git.mxchange.org Git - mailer.git/blobdiff - inc/request-functions.php
Continued a bit:
[mailer.git] / inc / request-functions.php
index 14c5e43e9cfaa05260610bef42d5f4b0376b55d2..d90c41bb91d8849cb9b9ed763bbe86d356d0860a 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Spezialle Funktionen fuer die Anfragebehandlung  *
  * -------------------------------------------------------------------- *
- * $Revision::                                                        $ *
- * $Date::                                                            $ *
- * $Tag:: 0.2.1-FINAL                                                 $ *
- * $Author::                                                          $ *
- * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2016 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -137,7 +132,7 @@ function postRequestElement ($element, $subElement = NULL) {
                        // Then use this
                        $value = sqlEscapeString($value[$subElement]);
                        //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'element=' . $element . ',subElement=' . $subElement . ' - SUB!');
-               } elseif (!is_array($value)) {
+               } elseif ((!is_array($value)) && (function_exists('sqlEscapeString'))) {
                        // Escape it here
                        $value = sqlEscapeString($value);
                        //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'element=' . $element . ' - REGULAR!');