File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change
1
+ composer.lock
2
+ vendor
1
3
2
4
/.php_cs.cache
3
5
.idea
4
-
Original file line number Diff line number Diff line change @@ -262,11 +262,15 @@ public function getAction(Request $request): JsonResponse
262
262
$ name = $ request ->get ('name ' );
263
263
264
264
$ configuration = Dao::getByName ($ name );
265
+
265
266
if (empty ($ configuration )) {
266
267
throw new Exception ('Name does not exist. ' );
267
268
}
268
269
269
- if ($ configuration && isset ($ configuration ->configuration ->general ->executor )) {
270
+ if (
271
+ isset ($ configuration ->configuration ->general ->executor ) &&
272
+ class_exists ($ configuration ->configuration ->general ->executor )
273
+ ) {
270
274
/** @var $className IExecutor */
271
275
$ className = $ configuration ->configuration ->general ->executor ;
272
276
$ cli = $ className ::getCli ($ name , null );
You can’t perform that action at this time.
0 commit comments