SourceForge logo
SourceForge logo
Menu

phpwiki-checkins

From: Reini U. <ru...@us...> - 2007年01月28日 22:53:24
Update of /cvsroot/phpwiki/phpwiki/lib/WikiDB/backend
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv638/WikiDB/backend
Modified Files:
	ADODB.php 
Log Message:
protect against $oldlinks warning
Index: ADODB.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/WikiDB/backend/ADODB.php,v
retrieving revision 1.96
retrieving revision 1.97
diff -u -2 -b -p -d -r1.96 -r1.97
--- ADODB.php	21 Jan 2007 23:28:32 -0000	1.96
+++ ADODB.php	28 Jan 2007 22:53:23 -0000	1.97
@@ -617,5 +617,5 @@ extends WikiDB_backend
 . " VALUES ($pageid, $linkid)");
 }
- if (array_key_exists($linkid, $oldlinks)) {
+ if ($oldlinks and array_key_exists($linkid, $oldlinks)) {
 // This was also in the previous page
 unset($oldlinks[$linkid]); 
@@ -1546,4 +1546,7 @@ class WikiDB_backend_ADODB_search extend
 
 // $Log$
+// Revision 1.97 2007年01月28日 22:53:23 rurban
+// protect against $oldlinks warning
+//
 // Revision 1.96 2007年01月21日 23:28:32 rurban
 // Disable hasGenID. requires CREATE perms
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 によって変換されたページ (->オリジナル) /