[Astpp-commit] SF.net SVN: astpp: [2142] trunk/astpp-admin.cgi
Brought to you by:
darrenkw
From: <dar...@us...> - 2007-11-02 02:46:17
|
Revision: 2142 http://astpp.svn.sourceforge.net/astpp/?rev=2142&view=rev Author: darrenkw Date: 2007-11-01 19:46:14 -0700 (Thu, 01 Nov 2007) Log Message: ----------- Patch Resolves: FS#282: WWW Create trunks, reseller not added Modified Paths: -------------- trunk/astpp-admin.cgi Modified: trunk/astpp-admin.cgi =================================================================== --- trunk/astpp-admin.cgi 2007-11-02 02:24:30 UTC (rev 2141) +++ trunk/astpp-admin.cgi 2007-11-02 02:46:14 UTC (rev 2142) @@ -8397,6 +8397,7 @@ return $body; } elsif ( $params->{action} eq gettext("Insert...") ) { + my @resellers = &list_resellers($astpp_db); my $resellerlist = ""; foreach my $reseller (@resellers) { my $resellerparam = "reseller-" . $reseller; @@ -8416,6 +8417,7 @@ . $astpp_db->quote( $params->{precedence} ) . ", " . $astpp_db->quote($resellerlist) . ", " . $astpp_db->quote( $params->{provider} ) . ")"; + print STDERR $tmp if $config->{debug} == 1; if ( $astpp_db->do($tmp) ) { $status .= gettext("Trunk: ") @@ -8425,7 +8427,6 @@ else { $status .= gettext("Trunk: ") . $params->{name} . gettext(" Failed to Add!"); - print STDERR $tmp if $config->{debug} == 1; } $params->{action} = gettext("Information..."); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |