create-prisma-php-app 4.4.1 → 4.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bootstrap.php +1 -2
- package/package.json +1 -1
package/dist/bootstrap.php
CHANGED
|
@@ -974,8 +974,7 @@ final class Bootstrap extends RuntimeException
|
|
|
974
974
|
|
|
975
975
|
private static function dispatchFunction(string $fn, mixed $args)
|
|
976
976
|
{
|
|
977
|
-
|
|
978
|
-
if (!$attribute) {
|
|
977
|
+
if (!self::isFunctionAllowed($fn)) {
|
|
979
978
|
return ['success' => false, 'error' => 'Function not callable from client'];
|
|
980
979
|
}
|
|
981
980
|
|