diff --git a/src/SSP.php b/src/SSP.php index 558a3cc..79b161c 100644 --- a/src/SSP.php +++ b/src/SSP.php @@ -58,7 +58,7 @@ function __construct($model, $cols){ foreach($cols as $e_key => $e_col){ if(isset($e_col['db'])){ - $e_searchable = (isset($e_col['searchable']) && is_bool($e_searchable)) ? $e_col['searchable'] : true; + $e_searchable = (isset($e_col['searchable']) && is_bool($e_col['searchable'])) ? $e_col['searchable'] : true; if(is_a($e_col['db'], get_class(DB::raw('')))){ $e_col_db_arr = explode(" AS ", $e_col['db']->getValue());