]> git.mjollnir.org Git - s9y.git/commitdiff
fix parse error
authorgarvinhicking <garvinhicking>
Mon, 11 Jun 2007 10:15:01 +0000 (10:15 +0000)
committergarvinhicking <garvinhicking>
Mon, 11 Jun 2007 10:15:01 +0000 (10:15 +0000)
plugins/serendipity_plugin_recententries/serendipity_plugin_recententries.php

index 87ef287f1047a2aa90b5877088fa1ba519ca6b5f..12b7a350bd0a1e5162d45f826d64e625441a7ef7 100644 (file)
@@ -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.