cvs: pear /Payment_Process/Process Type.php
| From: | Ian Eure | Date: | Tue, 24 Jan 2006 23:21:49 +0000 |
| Subject: | cvs: pear /Payment_Process/Process Type.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-37743@lists.php.net to get a copy of this message | ||
ieure Tue Jan 24 23:21:49 2006 UTC
Modified files:
/pear/Payment_Process/Process Type.php
Log:
Don't return non-variable by reference.
http://cvs.php.net/viewcvs.cgi/pear/Payment_Process/Process/Type.php?r1=1.21&r2=1.22&diff_format=u
Index: pear/Payment_Process/Process/Type.php
diff -u pear/Payment_Process/Process/Type.php:1.21 pear/Payment_Process/Process/Type.php:1.22
--- pear/Payment_Process/Process/Type.php:1.21 Fri Dec 16 18:26:36 2005
+++ pear/Payment_Process/Process/Type.php Tue Jan 24 23:21:49 2006
@@ -17,7 +17,7 @@
// | Joe Stump <joe@joestump.net> |
// +----------------------------------------------------------------------+
//
-// $Id: Type.php,v 1.21 2005/12/16 18:26:36 ieure Exp $
+// $Id: Type.php,v 1.22 2006/01/24 23:21:49 ieure Exp $
define('PAYMENT_PROCESS_CC_VISA', 100);
define('PAYMENT_PROCESS_CC_MASTERCARD', 101);
@@ -167,7 +167,8 @@
}
}
- return PEAR::raiseError('Invalid Payment_Process_Type: '.$type);
+ $ret = PEAR::raiseError('Invalid Payment_Process_Type: '.$type);
+ return $ret;
}
// }}}
// {{{ isValid()