]> git.mxchange.org Git - mailer.git/blobdiff - inc/session-functions.php
Added optional withPrefixSuffix parameter (sorry for becoming silent)
[mailer.git] / inc / session-functions.php
index a4a80d1f3b18e19b0c47e0e78706add7c7e3a02a..cd6eabdc5a241c6cf3788624a3cf5f9b40754dff 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2012 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -100,7 +100,7 @@ function getSession ($var) {
        // Is the variable there?
        if (isSessionVariableSet($var)) {
                // Then  get it secured!
-               $value = SQL_ESCAPE($GLOBALS['_SESSION'][$var]);
+               $value = sqlEscapeString($GLOBALS['_SESSION'][$var]);
        } // END - if
 
        // Return the value