[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: |
Vicente Ruiz |
Subject: |
RE: [Debian-sf-users] You can't rate yourself |
Date: |
02 Dec 2002 16:11:38 +0100 |
A drop (my email) compare to the ocean (your stats patch).
Thanks,
Vicente
El lun, 02-12-2002 a las 15:07, Lamoureux, Robert escribió:
> 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>