Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Geeklog-Core/geeklog
Browse files Browse the repository at this point in the history
  • Loading branch information
eSilverStrike committed Sep 5, 2019
2 parents 88dbefd + 6ed327f commit 725e6e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/lib-article.php
Expand Up @@ -1772,7 +1772,7 @@ function plugin_savecomment_article($title, $comment, $id, $pid, $postmode)
$url = COM_buildUrl($_CONF['site_url'] . '/article.php?story=' . $id);
$url .= (strpos($url, '?') ? '&' : '?') . 'msg=15';
COM_redirect($url);
} elseif ($ret > 0) { // failure
} elseif (($ret > 0) || is_string($ret)) { // failure
// FIXME: some failures should not return to comment form
$retval .= CMT_commentForm($title, $comment, $id, $pid, 'article',
$LANG03[14], $postmode);
Expand Down

0 comments on commit 725e6e8

Please sign in to comment.