mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-29 06:23:01 +00:00
Fix warnings on recent changes page
This commit is contained in:
parent
06ddf4c454
commit
4c57ae8c37
4 changed files with 4 additions and 3 deletions
|
@ -12,6 +12,7 @@
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- Fixed error image generation in the image previewer under certain conditions.
|
- Fixed error image generation in the image previewer under certain conditions.
|
||||||
|
- Fixed warnings from being spewed all over the place under cirtain circumstances on the recent changes page
|
||||||
|
|
||||||
## v0.13
|
## v0.13
|
||||||
(No changes were made between the last beta release and this release)
|
(No changes were made between the last beta release and this release)
|
||||||
|
|
|
@ -2852,7 +2852,7 @@ function render_recent_change($rchange)
|
||||||
$timeDisplayHtml = render_timestamp($rchange->timestamp);
|
$timeDisplayHtml = render_timestamp($rchange->timestamp);
|
||||||
|
|
||||||
$revisionId = false;
|
$revisionId = false;
|
||||||
if(isset($pageindex->{$rchange->page}))
|
if(isset($pageindex->{$rchange->page}) && isset($pageindex->{$rchange->page}->history))
|
||||||
{
|
{
|
||||||
foreach($pageindex->{$rchange->page}->history as $historyEntry)
|
foreach($pageindex->{$rchange->page}->history as $historyEntry)
|
||||||
{
|
{
|
||||||
|
|
|
@ -77,7 +77,7 @@
|
||||||
"author": "Starbeamrainbowlabs",
|
"author": "Starbeamrainbowlabs",
|
||||||
"description": "Adds recent changes. Access through the 'recent-changes' action.",
|
"description": "Adds recent changes. Access through the 'recent-changes' action.",
|
||||||
"id": "feature-recent-changes",
|
"id": "feature-recent-changes",
|
||||||
"lastupdate": 1486893286,
|
"lastupdate": 1495289037,
|
||||||
"optional": false
|
"optional": false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -200,7 +200,7 @@ function render_recent_change($rchange)
|
||||||
$timeDisplayHtml = render_timestamp($rchange->timestamp);
|
$timeDisplayHtml = render_timestamp($rchange->timestamp);
|
||||||
|
|
||||||
$revisionId = false;
|
$revisionId = false;
|
||||||
if(isset($pageindex->{$rchange->page}))
|
if(isset($pageindex->{$rchange->page}) && isset($pageindex->{$rchange->page}->history))
|
||||||
{
|
{
|
||||||
foreach($pageindex->{$rchange->page}->history as $historyEntry)
|
foreach($pageindex->{$rchange->page}->history as $historyEntry)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue