diff options
author | Andreas Gohr <andi@splitbrain.org> | 2013-08-11 12:20:20 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2013-08-11 12:20:20 +0200 |
commit | d84c2f1cc767bc428b84a5590e4c1c8a9c53fb36 (patch) | |
tree | e1a2ad265f9dc7fd9cd77beac672d70767917b8b /inc/changelog.php | |
parent | 95905cbe48caa3de7d6d809a8f0d0cffc9df4720 (diff) | |
parent | f73480e9843c2c7609d25f9bb340210e01ea5344 (diff) | |
download | rpg-d84c2f1cc767bc428b84a5590e4c1c8a9c53fb36.tar.gz rpg-d84c2f1cc767bc428b84a5590e4c1c8a9c53fb36.tar.bz2 |
Merge branch 'master' into extension_manager
* master: (33 commits)
translation update
translation update
translation update
translation update
translation update
changed style of `<file>` slightly to help tell it apart from `<code>`
translation update
translation update
translation update
translation update
translation update
translation update
translation update
removed now unused interwiki icons
removed old, possibly never used interwiki definitions
FS#2806 - fix auth capability listing in html_debug()
translation update
change 'debug' setting to 'security' (rather than 'danger')
convert from iso-8859-1 if not utf8
add 'danger' alert to authpgsql config settings
...
Diffstat (limited to 'inc/changelog.php')
-rw-r--r-- | inc/changelog.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/changelog.php b/inc/changelog.php index 9768fea51..6ff1e0eca 100644 --- a/inc/changelog.php +++ b/inc/changelog.php @@ -460,6 +460,8 @@ function getRevisions($id, $first, $num, $chunk_size=8192, $media=false) { $file = metaFN($id, '.changes'); } $num = max($num, 0); + if ($num == 0) { return $revs; } + $chunk_size = max($chunk_size, 0); if ($first<0) { $first = 0; |