Skip to content

Commit

Permalink
Fix missing NOT
Browse files Browse the repository at this point in the history
  • Loading branch information
yaroslavmo committed Jul 19, 2019
1 parent f25c94f commit 4ce289a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Components/Package/Importer.php
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ protected function insertEventScripts()
{
try {

if (class_exists(\DreamFactory\Core\Script\ServiceProvider::class)) throw new ForbiddenException('Upgrade to a paid license to import event scripts.');
if (!class_exists(\DreamFactory\Core\Script\ServiceProvider::class)) throw new ForbiddenException('Upgrade to a paid license to import event scripts.');

if (empty($data = $this->package->getResourceFromZip('system/event_script.json'))) {
// pre-2.3.0 version
Expand Down

0 comments on commit 4ce289a

Please sign in to comment.