[Astpp-commit] SF.net SVN: astpp:[2231] trunk/web_interface/astpp-admin.cgi
Brought to you by:
darrenkw
|
From: <dar...@us...> - 2009-02-02 19:43:43
|
Revision: 2231
http://astpp.svn.sourceforge.net/astpp/?rev=2231&view=rev
Author: darrenkw
Date: 2009-02-02 19:43:38 +0000 (Mon, 02 Feb 2009)
Log Message:
-----------
Corrected code that checks to make sure an account number is entered.
Modified Paths:
--------------
trunk/web_interface/astpp-admin.cgi
Modified: trunk/web_interface/astpp-admin.cgi
===================================================================
--- trunk/web_interface/astpp-admin.cgi 2009-02-01 01:41:41 UTC (rev 2230)
+++ trunk/web_interface/astpp-admin.cgi 2009-02-02 19:43:38 UTC (rev 2231)
@@ -2392,7 +2392,7 @@
$params->{count} = 1;
$params->{pennies} = 0;
$params->{number} = $params->{customnum};
- if ($params->{number} > 0) {
+ if ($params->{number} ne "") {
$status .= &generate_accounts( $params, $config );
my $accountinfo = &get_account( $astpp_db, $params->{number} );
## Here we add support to add IAX and SIP devices at account creation.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|