Skip to content

Commit

Permalink
Fixed pruning return value for inconsistent config values
Browse files Browse the repository at this point in the history
  • Loading branch information
kasimi committed Oct 16, 2016
1 parent 21f957e commit 4a663a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ public function mchat_prune()

if (empty($this->settings->prune_modes[$prune_mode]))
{
return 0;
return array();
}

$sql_array = array(
Expand Down

0 comments on commit 4a663a4

Please sign in to comment.