Skip to content

Commit

Permalink
Merge pull request #2438 from Laravel-Backpack/fix-exception-collumn-…
Browse files Browse the repository at this point in the history
…nullable

[4.0][BUGFIX] Define fqn for Exception.
  • Loading branch information
tabacitu committed Feb 10, 2020
2 parents 309e867 + 717a030 commit d047571
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/Models/Traits/CrudTrait.php
Expand Up @@ -73,7 +73,7 @@ public static function isColumnNullable($column_name)
$conn->getDoctrineColumn($table, $column_name);

return ! $conn->getDoctrineColumn($table, $column_name)->getNotnull();
} catch (Exception $e) {
} catch (\Exception $e) {
return true;
}
}
Expand Down

0 comments on commit d047571

Please sign in to comment.