[vhffs-dev] [798] bugfix

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


Revision: 798
Author:   gradator
Date:     2007-08-29 22:41:55 +0000 (Wed, 29 Aug 2007)

Log Message:
-----------
bugfix

Modified Paths:
--------------
    trunk/vhffs-api/src/Vhffs/Panel/Main.pm


Modified: trunk/vhffs-api/src/Vhffs/Panel/Main.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Panel/Main.pm	2007-08-29 22:27:06 UTC (rev 797)
+++ trunk/vhffs-api/src/Vhffs/Panel/Main.pm	2007-08-29 22:41:55 UTC (rev 798)
@@ -533,7 +533,8 @@
         $template->param( TEXT_GENERAL => gettext('General') );
         $template->param( TEXT_FULLHISTORY => gettext('Full history') );
 
-	if( defined ( my $url = $config->get_group->{'url_doc'} ) )  {
+	my $groupconfig = $config->get_group;
+	if( defined $groupconfig && defined ( my $url = $groupconfig->{'url_doc'} ) )  {
 		$template->param( HELP_TEXT => gettext('Help') );
 		$template->param( HELP_URL => $url );
 	}


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