From: garvinhicking Date: Mon, 11 Jun 2007 10:15:01 +0000 (+0000) Subject: fix parse error X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=1249b172c234666e50d692b991c248b75e16c8d0;p=s9y.git fix parse error --- diff --git a/plugins/serendipity_plugin_recententries/serendipity_plugin_recententries.php b/plugins/serendipity_plugin_recententries/serendipity_plugin_recententries.php index 87ef287..12b7a35 100644 --- a/plugins/serendipity_plugin_recententries/serendipity_plugin_recententries.php +++ b/plugins/serendipity_plugin_recententries/serendipity_plugin_recententries.php @@ -159,8 +159,8 @@ class serendipity_plugin_recententries extends serendipity_plugin { if (!$dateformat || strlen($dateformat) < 1) { $dateformat = '%A, %B %e %Y'; } - if ($randomize) - if ($db == 'mysql' || $db == 'mysqli')) { + if ($randomize) { + if ($db == 'mysql' || $db == 'mysqli') { $sql_order = "ORDER BY RAND()"; } else { // SQLite and PostgreSQL support this, hooray.