[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Debian-sf-users] You can't rate yourself
From: |
Lamoureux, Robert |
Subject: |
RE: [Debian-sf-users] You can't rate yourself |
Date: |
Mon, 2 Dec 2002 09:07:27 -0500 |
Ooops. This may have been leftover from my work on stats/ratings. I will
submit a patch to (re)correct ASAP.
Sorry to all.
Bob
(Nice catch Vincente :)
-----Original Message-----
From: Vicente Ruiz
To: debian-sf-users
Sent: 11/28/02 6:02 PM
Subject: [Debian-sf-users] You can't rate yourself
A very silly thing.
Anybody knows why it is commented this line in rate.php in 2.6.14?
// exit_error('ERROR','You can\'t rate yourself');
Without this line, the error message when you rate yourself if your
user_id ¿?¿?
I don't know, but I made the modification that follows.
Thanks,
Vicente
*** rate.php Tue Nov 26 15:24:49 2002
--- rate.php.orig Tue Nov 26 15:25:40 2002
***************
*** 60,67 ****
}
} else {
global $G_SESSION;
! exit_error('ERROR','You can\'t rate yourself');
! // exit_error('ERROR',$rated_user);
}
echo $HTML->header(array('title'=>'User Ratings Page'));
--- 60,67 ----
}
} else {
global $G_SESSION;
! // exit_error('ERROR','You can\'t rate yourself');
! exit_error('ERROR',$rated_user);
}
echo $HTML->header(array('title'=>'User Ratings Page'));
--
--
Vicente Ruiz <address@hidden>
_______________________________________________
Debian-sf-users mailing list
address@hidden
http://mail.nongnu.org/mailman/listinfo/debian-sf-users
- RE: [Debian-sf-users] You can't rate yourself,
Lamoureux, Robert <=