Browse Source

Check url isn't missing when testing

pull/308/head
Chris 6 years ago
parent
commit
98c6093674
  1. 7
      app/SupportedApps.php

7
app/SupportedApps.php

@ -13,6 +13,13 @@ abstract class SupportedApps
public function appTest($url, $attrs = [], $overridevars=false)
{
if(empty($this->config->url)) {
return (object)[
'code' => 404,
'status' => 'No URL has been specified',
'response' => 'No URL has been specified',
];
}
$res = $this->execute($url, $attrs);
if($res == null) {
return (object)[

Loading…
Cancel
Save