[vhffs-dev] [1974] added missing require

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


Revision: 1974
Author:   gradator
Date:     2012-01-29 16:03:14 +0100 (Sun, 29 Jan 2012)
Log Message:
-----------
added missing require

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

Modified: trunk/vhffs-api/src/Vhffs/Panel/Group.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Panel/Group.pm	2012-01-29 15:00:13 UTC (rev 1973)
+++ trunk/vhffs-api/src/Vhffs/Panel/Group.pm	2012-01-29 15:03:14 UTC (rev 1974)
@@ -39,6 +39,7 @@
 use Locale::gettext;
 
 use Vhffs::Constants;
+use Vhffs::Functions;
 
 require Vhffs::Tag;
 require Vhffs::Tag::Category;
@@ -489,6 +490,7 @@
 					}
 				} else {
 					# User not found with exact match,let's search
+					require Vhffs::Panel::User;
 					my $users = Vhffs::Panel::User::search_user( $vhffs , $username );
 					unless( @{$users} ) {
 						$vars->{add_user_error} = gettext('User not found');


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