[Rt-commit] r12365 - rt/branches/3.8-TESTING/share/html/installation

sunnavy at bestpractical.com sunnavy at bestpractical.com
Fri May 16 02:58:29 EDT 2008


Author: sunnavy
Date: Fri May 16 02:58:29 2008
New Revision: 12365

Modified:
   rt/branches/3.8-TESTING/share/html/installation/Initialize.html

Log:
bug fix

Modified: rt/branches/3.8-TESTING/share/html/installation/Initialize.html
==============================================================================
--- rt/branches/3.8-TESTING/share/html/installation/Initialize.html	(original)
+++ rt/branches/3.8-TESTING/share/html/installation/Initialize.html	Fri May 16 02:58:29 2008
@@ -51,7 +51,7 @@
 
 % unless ( @results ) {
 <div>
-<&|/l&>Click "Initialize Database" to begin creating the database. This may take a few moments.</&>
+<&|/l&>Click "Initialize Database" to begin creating the database. This may take a few moments</&>
 </div>
 % }
 
@@ -80,11 +80,14 @@
     die $DBI::errstr unless $sysdbh;
 
     my ( $status, $msg ) = ( 1, '' );
-    if ( shift @actions eq 'create' ) {
+
+    if ( $actions[0] eq 'create' ) {
         ($status, $msg) = RT::Handle->CreateDatabase( $sysdbh );
         unless ( $status ) {
             push @results, "ERROR: $msg";
         }
+
+        shift @actions; # shift the 'create' action since its job is done.
     }
 
     if ( $status ) {


More information about the Rt-commit mailing list