summaryrefslogtreecommitdiff
path: root/inc/common.php
diff options
context:
space:
mode:
authorlisps <stummp@loewen.de>2013-11-22 10:51:16 +0100
committerlisps <stummp@loewen.de>2013-11-22 10:51:16 +0100
commit78b874e68a5f2a45f71a91efb168761c283e3a91 (patch)
treeb2b0e877713ac1d798ea0d120a79ac5c4cf42514 /inc/common.php
parentac6dc646a5823005fd7f9747f2c333bd6379baee (diff)
downloadrpg-78b874e68a5f2a45f71a91efb168761c283e3a91.tar.gz
rpg-78b874e68a5f2a45f71a91efb168761c283e3a91.tar.bz2
fix function name media_isexternal()
remove empty rev from ml() rename getProperRevision() to getLastRevisionAt() make getLastRevisionAt() a method of ChangeLog
Diffstat (limited to 'inc/common.php')
-rw-r--r--inc/common.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/common.php b/inc/common.php
index 106bf7c15..5dcf58e39 100644
--- a/inc/common.php
+++ b/inc/common.php
@@ -484,6 +484,7 @@ function ml($id = '', $more = '', $direct = true, $sep = '&amp;', $abs = false)
if(empty($more['w'])) unset($more['w']);
if(empty($more['h'])) unset($more['h']);
if(isset($more['id']) && $direct) unset($more['id']);
+ if(isset($more['rev']) && !$more['rev']) unset($more['rev']);
$more = buildURLparams($more, $sep);
} else {
$matches = array();