1
0

fix parse error

This commit is contained in:
Garvin Hicking
2007-06-11 10:15:01 +00:00
parent 7f9ea41586
commit ec52b712c3

View File

@ -159,8 +159,8 @@ class serendipity_plugin_recententries extends serendipity_plugin {
if (!$dateformat || strlen($dateformat) < 1) { if (!$dateformat || strlen($dateformat) < 1) {
$dateformat = '%A, %B %e %Y'; $dateformat = '%A, %B %e %Y';
} }
if ($randomize) if ($randomize) {
if ($db == 'mysql' || $db == 'mysqli')) { if ($db == 'mysql' || $db == 'mysqli') {
$sql_order = "ORDER BY RAND()"; $sql_order = "ORDER BY RAND()";
} else { } else {
// SQLite and PostgreSQL support this, hooray. // SQLite and PostgreSQL support this, hooray.