If $limit is empty(), no limit is set, so we can set the LIMIT statement to "" to achieve the same. But an empty() $limit can be "0", so the generated SQL statement could end with "0" instead of the LIMIT statement. We catch this with forcing an empty() $limit to "". Fixes #636. (No matter that this shouldn't even happen.) Signed-off-by: Thomas Hochstein <thh@inter.net>
Serendipity - A reliable, secure & extensible PHP blog
Serendipity is a PHP-powered weblog engine which gives the user an easy way to maintain a blog. While the default package is designed for the casual blogger, Serendipity offers an expandable framework with the power for professional applications.
Description
幸運な偶然 - A PHP blog software // This was me trying to raise the PHP code to newer standards without breaking anything. Halfway in I've decided that S9Y is abandonware and went with WordPress.
Readme
BSD-3-Clause
50 MiB
Languages
PHP
83.2%
Smarty
9.6%
CSS
4.5%
JavaScript
1.8%
HTML
0.7%
Other
0.1%