escaping utility methods
This commit is contained in:
1 parent
3b47f0fd9a
commit
56108f0605
4 files changed
+35
-3
No files matched your search
@@ -176,8 +176,8 @@ class DedimaniaPlugin implements CallbackListener, CommandListener, TimerListene
|
||||
$this->maniaControl->fileReader->postData(self::DEDIMANIA_URL, function ($data, $error) use (&$self) {
|
||||
$self->maniaControl->log("Try to connect on Dedimania");
|
||||
|
||||
if ($error != '') {
|
||||
$self->maniaControl->log("Dedimania Error: " . $error);
|
||||
if (!$data || $error) {
|
||||
$self->maniaControl->log("Dedimania Error: '{$error}'");
|
||||
}
|
||||
|
||||
$data = $self->decode($data);
|
||||
|
||||
Reference in new issue
Block a user