Skip to content

Commit

Permalink
Update appeal.php (#143)
Browse files Browse the repository at this point in the history
Resolve issue #142
  • Loading branch information
dqwiki authored Oct 14, 2017
1 parent 0431c4f commit 0b1d199
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public_html/appeal.php
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@
//Log admin message
$log->addNewItem($adminmessage);
//Post admin message on wiki
if ($appeal->isAutoblock()) {
if ($appeal->isAutoblock() && !$appeal->hasAccount()) {
$bot->notifyAdmin($appeal->getIP(), array($appeal->getID(), $appeal->getCommonName(), $time, $appeal->getHandlingAdmin()->getUsername(), $adminmessage));
} else {
$bot->notifyAdmin($appeal->getCommonName(), array($appeal->getID(), $appeal->getCommonName(), $time, $appeal->getHandlingAdmin()->getUsername(), $adminmessage));
Expand Down

0 comments on commit 0b1d199

Please sign in to comment.