[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Debian-sf-users] You can't rate yourself
From: |
Vicente Ruiz |
Subject: |
[Debian-sf-users] You can't rate yourself |
Date: |
29 Nov 2002 00:02:07 +0100 |
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>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Debian-sf-users] You can't rate yourself,
Vicente Ruiz <=