From 26534cc38971cbd81a9dcf7e08e9a7083d91a3f0 Mon Sep 17 00:00:00 2001 From: jweiss Date: Mon, 5 Jun 2000 05:01:49 +0000 Subject: [PATCH] update for users table schema change, and give split a number not an uninitalized variable --- backup/report.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/backup/report.sh b/backup/report.sh index e13f227b..5e91389f 100644 --- a/backup/report.sh +++ b/backup/report.sh @@ -65,11 +65,11 @@ $total = 0; while () { 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); -- 2.45.1