fix not protocol breaking adding for some reason
This commit is contained in:
parent
63e0d07d50
commit
4980bfab12
1 changed files with 1 additions and 0 deletions
|
@ -159,6 +159,7 @@ class Item extends Model
|
|||
|
||||
public static function isEnhanced($class)
|
||||
{
|
||||
if($class === null || $class === 'null') return false;
|
||||
$app = new $class;
|
||||
return (bool)($app instanceof \App\EnhancedApps);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue