Commit 28a7179a authored by Kjartan's avatar Kjartan

- fixing the moderation result block so both author and voters can see it.

parent a2d11015
......@@ -184,7 +184,7 @@ function queue_block() {
if ($user->uid) {
$node = node_load(array("nid" => $id));
}
if (($user->uid == $node->uid && substr_count($node->users, "$user->uid=")) && $node->moderate == 1) {
if (($user->uid == $node->uid || substr_count($node->users, "$user->uid=")) && $node->moderate == 1) {
foreach (explode(",", $node->users) as $vote) {
if ($vote) {
$data = explode("=", $vote);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment