From 1249b172c234666e50d692b991c248b75e16c8d0 Mon Sep 17 00:00:00 2001
From: garvinhicking <garvinhicking>
Date: Mon, 11 Jun 2007 10:15:01 +0000
Subject: [PATCH] fix parse error

---
 .../serendipity_plugin_recententries.php                      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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.
-- 
2.39.5