[vhffs-dev] [891] well... |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
Revision: 891
Author: gradator
Date: 2007-09-10 02:18:21 +0000 (Mon, 10 Sep 2007)
Log Message:
-----------
well... fixes repositories descriptions
Modified Paths:
--------------
trunk/vhffs-panel/repository/create.pl
Modified: trunk/vhffs-panel/repository/create.pl
===================================================================
--- trunk/vhffs-panel/repository/create.pl 2007-09-10 02:08:08 UTC (rev 890)
+++ trunk/vhffs-panel/repository/create.pl 2007-09-10 02:18:21 UTC (rev 891)
@@ -68,7 +68,7 @@
$panel->add_error( gettext('CGI error') );
} elsif($description =~ /^\s*$/) {
$panel->add_error( gettext('You must enter a description') );
- } elsif( defined Vhffs::Panel::Repository::create_repository( $vhffs, $groupname, $user, $group ) ) {
+ } elsif( defined Vhffs::Panel::Repository::create_repository( $vhffs, $groupname, $user, $group , $description ) ) {
my $url = '/panel.pl?project='.$panel->{groupname}.'&msg='.gettext('The repository was successfully created !');
$panel->redirect($url);
} else {
@@ -93,6 +93,5 @@
$template->param( DESCRIPTION_VALUE => CGI::escapeHTML($description) );
$panel->build( $template );
-$panel->display;
+ $panel->display;
}
-