]> andersk Git - moira.git/commitdiff
update for users table schema change, and give split a number not an
authorjweiss <jweiss>
Mon, 5 Jun 2000 05:01:49 +0000 (05:01 +0000)
committerjweiss <jweiss>
Mon, 5 Jun 2000 05:01:49 +0000 (05:01 +0000)
uninitalized variable

backup/report.sh

index e13f227bb21ea445fe836afd2112e09010abbe84..5e91389f15c260f1c65f6c625bb4d0bf2060f646 100644 (file)
@@ -65,11 +65,11 @@ $total = 0;
 
 while (<USERS>) {
     s/\|/\e/g; s/\\\e/\|/g;
-    split(/\e/, $_, $27);
-    $total++; $STATUS{$_[7]}++;
-    if ($_[7] != 3) { $classtotal++; $CLASS{$_[9]}++; }
-    if ($_[7] == 1) { $CLASSA{$_[9]}++; }
-    if ($_[7] == 1 || $_[7] == 6) { $pototal++; $POTYPE{$_[25]}++; }
+    split(/\e/, $_, 28);
+    $total++; $STATUS{$_[8]}++;
+    if ($_[8] != 3) { $classtotal++; $CLASS{$_[10]}++; }
+    if ($_[8] == 1) { $CLASSA{$_[10]}++; }
+    if ($_[8] == 1 || $_[8] == 6) { $pototal++; $POTYPE{$_[26]}++; }
 }
 
 close(USERS);
This page took 0.049907 seconds and 5 git commands to generate.