SourceForge logo
SourceForge logo
Menu

phpwiki-checkins

From: Steve W. <wai...@us...> - 2001年11月02日 05:17:11
Update of /cvsroot/phpwiki/phpwiki/lib
In directory usw-pr-cvs1:/tmp/cvs-serv15216
Modified Files:
 Tag: release-1_2-branch
	mssql.php 
Log Message:
Newer version fixes a bug in InsertPage().
Index: mssql.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/Attic/mssql.php,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -r1.1.2.1 -r1.1.2.2
*** mssql.php	2001年11月02日 05:07:52	1.1.2.1
--- mssql.php	2001年11月02日 05:17:08	1.1.2.2
***************
*** 111,114 ****
--- 111,121 ----
 function InsertPage($dbi, $pagename, $pagehash) {
 
+ global $WikiPageStore; // ugly hack
+ if ($dbi['table'] == $WikiPageStore) 
+ { // HACK
+ $linklist = ExtractWikiPageLinks($pagehash['content']);
+ 	 	 SetWikiPageLinks($dbi, $pagename, $linklist);
+ }
+ 
 $pagehash = MakeDBHash($pagename, $pagehash);
 
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 によって変換されたページ (->オリジナル) /