diff --git a/application/libraries/Grocery_CRUD.php b/application/libraries/Grocery_CRUD.php index 223a52f5..bde3dadd 100755 --- a/application/libraries/Grocery_CRUD.php +++ b/application/libraries/Grocery_CRUD.php @@ -2195,10 +2195,8 @@ protected function get_layout() } elseif($this->echo_and_die === true) { - return (object)array( - 'isAjax' => true, - 'output' => $this->views_as_string, - ); + echo $this->views_as_string; + die(); } }