Skip to content

Commit

Permalink
M4: Automated test fix sweep (blue team) #611757
Browse files Browse the repository at this point in the history
  • Loading branch information
toanlam authored and sammarshallou committed Jan 3, 2023
1 parent 03b16df commit ddabcbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion externallib.php
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ public static function get_blog_posts2($blogid, $bcontextid, $selected, $inccomm
}
$user = $userobj->id;
$selected = explode(',', $selected);
if ($selected[0] == 0) {
if ($selected[0] == "") {
$return = oublog_import_getposts($blogid, $bcontextid, $selected, $inccomments, $user, true);
} else {
$return = oublog_import_getposts($blogid, $bcontextid, $selected, $inccomments, $user);
Expand Down

0 comments on commit ddabcbf

Please sign in to comment.