[vhffs-dev] [508] Fixed a bug which caused repository stats to be displayed even if it was disabled .

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 508
Author:   beuss
Date:     2007-03-10 09:34:21 +0000 (Sat, 10 Mar 2007)

Log Message:
-----------
Fixed a bug which caused repository stats to be displayed even if it was disabled.

Modified Paths:
--------------
    branches/vhffs_4.1/vhffs-api/src/Vhffs/Panel/Main.pm


Modified: branches/vhffs_4.1/vhffs-api/src/Vhffs/Panel/Main.pm
===================================================================
--- branches/vhffs_4.1/vhffs-api/src/Vhffs/Panel/Main.pm	2007-03-08 17:21:10 UTC (rev 507)
+++ branches/vhffs_4.1/vhffs-api/src/Vhffs/Panel/Main.pm	2007-03-10 09:34:21 UTC (rev 508)
@@ -524,7 +524,7 @@
 	}
 
 
-	if( $vhffs->get_config->use_dns == 1 )
+	if( $vhffs->get_config->use_repository == 1 )
 	{
 		$temp = "";
 		$template->param( REPOSITORY => gettext("Download repositories for this group") );
@@ -549,7 +549,7 @@
 		$template->param( REPOSITORY_VALUES => $temp );
 	}
 
-	if( $vhffs->get_config->use_repository == 1 )
+	if( $vhffs->get_config->use_dns == 1 )
 	{
 		$temp = "";
 		$template->param( DNS => gettext("Domains for this group") );


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/