fix parse error
This commit is contained in:
@ -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.
|
||||||
|
Reference in New Issue
Block a user