Permalink
Browse files

Rangeblock catch #160 #161

  • Loading branch information...
dqwiki committed Feb 3, 2019
1 parent 7e4f5af commit 276857185d2390073dd2ff67ee82496153a783a6
Showing with 5 additions and 1 deletion.
  1. +5 −1 public_html/src/appealObject.php
@@ -223,7 +223,11 @@ public static function newUntrusted($values) {
else {
$blockinfo = $objPeachy->initUser( $appeal->getCommonName() )->get_blockinfo();
}
$appeal->blockingAdmin = $blockinfo['by'];
try {$appeal->blockingAdmin = $blockinfo['by'];}
catch (Exception $e) {
$appeal->blockingAdmin = "Unknown";
}
// False means "uncached", getUserAgent() will fetch it when

0 comments on commit 2768571

Please sign in to comment.