Skip to content

Commit 932c15f

Browse files
committed
add a check in chart controller
1 parent 3dc0981 commit 932c15f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/app/Http/Controllers/ChartController.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
namespace Backpack\CRUD\app\Http\Controllers;
44

5-
class ChartController extends \Backpack\Pro\Http\Controllers\ChartController
6-
{
5+
if ( backpack_pro()) {
6+
class ChartController extends \Backpack\Pro\Http\Controllers\ChartController
7+
{
8+
}
79
}

0 commit comments

Comments
 (0)