Browse Source

adding warning about nulled var

tokul 20 years ago
parent
commit
3c5c2cc37a
1 changed files with 3 additions and 0 deletions
  1. 3 0
      functions/global.php

+ 3 - 0
functions/global.php

@@ -185,6 +185,9 @@ define('SQ_FORM',6);
  *    sqgetGlobalVar('username',$username,SQ_SESSION);
  *    sqgetGlobalVar('username',$username,SQ_SESSION);
  *  -- no quotes around last param!
  *  -- no quotes around last param!
  *
  *
+ * WARNING: Since 1.4.5 and 1.5.1 function nulls $value, 
+ * if variable is not available.
+ *
  * @param string name the name of the var to search
  * @param string name the name of the var to search
  * @param mixed value the variable to return
  * @param mixed value the variable to return
  * @param int search constant defining where to look
  * @param int search constant defining where to look