- Patch by Drumm: change the wording for clarity.

4.7.x
Dries Buytaert 2005-04-08 13:06:37 +00:00
parent 58b326a838
commit a21f084160
2 changed files with 2 additions and 2 deletions

View File

@ -1517,7 +1517,7 @@ function comment_moderation_form($comment) {
// comment hasn't been moderated yet:
if (!isset($votes) && $user->roles) {
$result = db_query('SELECT v.mid, v.vote, MAX(v.weight) AS weight, MAX(r.value) AS value FROM {moderation_votes} v INNER JOIN {moderation_roles} r ON r.mid = v.mid WHERE r.rid IN (%s) GROUP BY v.mid, v.vote ORDER BY weight', implode(', ', array_keys($user->roles)));
$votes = array(0 => t('unmoderated'));
$votes = array(0 => t('defer until later'));
while ($vote = db_fetch_object($result)) {
if ($vote->value != 0) {
$votes[$vote->mid] = $vote->vote;

View File

@ -1517,7 +1517,7 @@ function comment_moderation_form($comment) {
// comment hasn't been moderated yet:
if (!isset($votes) && $user->roles) {
$result = db_query('SELECT v.mid, v.vote, MAX(v.weight) AS weight, MAX(r.value) AS value FROM {moderation_votes} v INNER JOIN {moderation_roles} r ON r.mid = v.mid WHERE r.rid IN (%s) GROUP BY v.mid, v.vote ORDER BY weight', implode(', ', array_keys($user->roles)));
$votes = array(0 => t('unmoderated'));
$votes = array(0 => t('defer until later'));
while ($vote = db_fetch_object($result)) {
if ($vote->value != 0) {
$votes[$vote->mid] = $vote->vote;