Skip to content

Commit

Permalink
Fix bug (typo) when creating a dashboard so we do create and save the…
Browse files Browse the repository at this point in the history
… widget list.
  • Loading branch information
mark-unwin committed Apr 17, 2018
1 parent 3da193e commit 8d000c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code_igniter/application/models/m_collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ public function create($data = null, $collection = '')
}
$my_options = new stdClass();
$my_options->layout = '3x2';
if (!empty($my_options->widget_count)) {
if (!empty($options->widget_count)) {
$my_options->widget_count = intval($options->widget_count);
} else {
$my_options->widget_count = 0;
Expand Down

0 comments on commit 8d000c6

Please sign in to comment.