phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] api/class.prefs.php, 1.1.1.1.2.18


From: nomail
Subject: [Phpgroupware-cvs] api/class.prefs.php, 1.1.1.1.2.18
Date: Wed, 19 May 2004 06:01:19 +0200

Update of /api
Modified Files:
        Branch: proposal-branch
          class.prefs.php

date: 2004/05/19 04:01:19;  author: jengo;  state: Exp;  lines: +4 -4

Log Message:
If no firstname or lastname is passed, it was saying ##NOVAR## for those 
field(s)
=====================================================================
Index: api/class.prefs.php
diff -u api/class.prefs.php:1.1.1.1.2.17 api/class.prefs.php:1.1.1.1.2.18
--- api/class.prefs.php:1.1.1.1.2.17    Sat May 15 07:49:25 2004
+++ api/class.prefs.php Wed May 19 04:01:19 2004
@@ -240,9 +240,9 @@
                function _display_account_fullname()
                {
                        $args = new safe_args();
-                       $args->set('id',NOVAR);
-                       $args->set('firstname',NOVAR);
-                       $args->set('lastname',NOVAR);
+                       $args->set('id',NOTSET);
+                       $args->set('firstname',NOTSET);
+                       $args->set('lastname',NOTSET);
                        extract($args->get(func_get_args()));
 
                        if (sanitize($id,'number'))




reply via email to

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