diff options
author | petko <petko@524c5546-5005-0410-9a3e-e25e191bd360> | 2010-02-20 02:01:21 +0000 |
---|---|---|
committer | petko <petko@524c5546-5005-0410-9a3e-e25e191bd360> | 2010-02-20 02:01:21 +0000 |
commit | 807120f78779ad37f78ad69e482aebcfdf1188b3 (patch) | |
tree | 146938c347e880e3ecd119fc64457a9f6d27174d /scripts/pagerev.php | |
parent | 9e59444d5d2c6184350a541ad5045fd665a7597b (diff) | |
download | pmwiki.svn-807120f78779ad37f78ad69e482aebcfdf1188b3.tar.bz2 |
Fix rendering of empty edit (no change in the text, displayed) vs. custom function returning false (skipped)
git-svn-id: svn://pmwiki.org/pmwiki/trunk@2507 524c5546-5005-0410-9a3e-e25e191bd360
Diffstat (limited to 'scripts/pagerev.php')
-rw-r--r-- | scripts/pagerev.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/pagerev.php b/scripts/pagerev.php index a5d7b95c..b86fe102 100644 --- a/scripts/pagerev.php +++ b/scripts/pagerev.php @@ -86,7 +86,7 @@ function PrintDiff($pagename) { $FmtV['$DiffAuthor'] = $diffauthor; $FmtV['$DiffId'] = $k; $html = $DiffHTMLFunction($pagename, $v); - if (!$html) continue; + if ($html===false) continue; echo FmtPageName($DiffStartFmt,$pagename); echo $html; echo FmtPageName($DiffEndFmt,$pagename); |