phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] api/core_functions.inc.php, 1.1.1.1.2.26


From: nomail
Subject: [Phpgroupware-cvs] api/core_functions.inc.php, 1.1.1.1.2.26
Date: Mon, 28 Jun 2004 16:12:57 +0200

Update of /api
Modified Files:
        Branch: proposal-branch
          core_functions.inc.php

date: 2004/06/28 14:12:57;  author: dcech;  state: Exp;  lines: +2 -1

Log Message:
added 'numeric' type to validate
added phpgw_error support for apps to return an error code
updated xmlrpc interface for better error handling
=====================================================================
Index: api/core_functions.inc.php
diff -u api/core_functions.inc.php:1.1.1.1.2.25 
api/core_functions.inc.php:1.1.1.1.2.26
--- api/core_functions.inc.php:1.1.1.1.2.25     Tue Jun 22 14:15:46 2004
+++ api/core_functions.inc.php  Mon Jun 28 14:12:57 2004
@@ -641,6 +641,7 @@
                                $result = is_object($input);
                                break;
                        case 'number': /* numbers only */
+                       case 'numeric':
                        case 'integer': 
                        case 'int':
                                $result = preg_match("/^\d+$/", $input);




reply via email to

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