dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09dfb41
)
ApiParse: Don't display revid="" when there is no revid.
author
Roan Kattouw
<catrope@users.mediawiki.org>
Thu, 3 Jul 2008 15:01:50 +0000
(15:01 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Thu, 3 Jul 2008 15:01:50 +0000
(15:01 +0000)
includes/api/ApiParse.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiParse.php
b/includes/api/ApiParse.php
index
fe195c4
..
71cf0f9
100644
(file)
--- a/
includes/api/ApiParse.php
+++ b/
includes/api/ApiParse.php
@@
-116,7
+116,7
@@
class ApiParse extends ApiBase {
$result_array['externallinks'] = array_keys($p_result->getExternalLinks());
if(isset($prop['sections']))
$result_array['sections'] = $p_result->getSections();
- if(
$oldid !== false
)
+ if(
!is_null($oldid)
)
$result_array['revid'] = $oldid;
$result_mapping = array(