Skip to content

Commit

Permalink
Merge pull request #245 from lubobill1990/patch-6
Browse files Browse the repository at this point in the history
typo of class_exists
  • Loading branch information
schmunk42 authored Sep 4, 2018
2 parents f0f9052 + 6ac0bc0 commit 3aa4935
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/SaveForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public static function loadSavedForms($generatorName)
if (method_exists($module, 'getBasePath')) {
$basePath = $module->getBasePath();
} else {
if(!class_exit($module['class'])){
if(!class_exists($module['class'])){
\Yii::warning('Invalid class definition for module ' . $moduleId);
continue;
}
Expand Down

0 comments on commit 3aa4935

Please sign in to comment.