SourceForge logo
SourceForge logo
Menu

[phpwiki-checkins] SF.net SVN: phpwiki:[11119] trunk/lib/loadsave.php

From: <car...@us...> - 2025年02月17日 01:42:46
Revision: 11119
 http://sourceforge.net/p/phpwiki/code/11119
Author: carstenklapp
Date: 2025年02月17日 01:42:44 +0000 (2025年2月17日)
Log Message:
-----------
Improved variable setting/checking.
Modified Paths:
--------------
 trunk/lib/loadsave.php
Modified: trunk/lib/loadsave.php
===================================================================
--- trunk/lib/loadsave.php	2025年02月17日 01:24:25 UTC (rev 11118)
+++ trunk/lib/loadsave.php	2025年02月17日 01:42:44 UTC (rev 11119)
@@ -1110,6 +1110,7 @@
 static $overwite_all = false;
 $pagedata = $pageinfo['pagedata']; // Page level meta-data.
 $versiondata = $pageinfo['versiondata']; // Revision level meta-data.
+ $isnewpage = false;
 
 if (empty($pageinfo['pagename'])) {
 PrintXML(HTML::p(HTML::strong(_("Empty pagename!"))));
@@ -1289,7 +1290,7 @@
 // unset($pagedata['date']);
 
 // set page owner
- if ($pagedata['owner']) {
+ if (!empty($pagedata['owner'])) {
 $page->set('owner', $pagedata['owner']);
 }
 // unset($pagedata['owner']);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

View entire thread

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /