Skip to content

Commit

Permalink
Code review
Browse files Browse the repository at this point in the history
  • Loading branch information
carlitorweb committed Jun 8, 2018
1 parent 6426018 commit f3386d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/mod_articles_latest/helper.php
Expand Up @@ -74,7 +74,7 @@ public static function getList(&$params)
break;

case 'created_by' :
$model->setState('filter.author_id', $params->get('author'));
$model->setState('filter.author_id', $params->get('author', array()));
break;

case '0' :
Expand Down
2 changes: 1 addition & 1 deletion modules/mod_articles_latest/mod_articles_latest.xml
Expand Up @@ -94,7 +94,7 @@
value_field="name"
showon="user_id:created_by"
>
<option value="0">JOPTION_SELECT_AUTHORS</option>
<option value="0">JNONE</option>
</field>
</fieldset>

Expand Down

0 comments on commit f3386d5

Please sign in to comment.