Skip to content

Commit

Permalink
wiki page fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Hendrickson committed Nov 18, 2009
1 parent d857ed4 commit 2bb4216
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/wiki/models/Wiki.php
Expand Up @@ -58,7 +58,8 @@ function wiki_urls(){
while ($w = $Wiki->MoveNext()){
$request->connect( str_replace(' ','',$w->title), array(
'resource'=>'wikis',
'id'=>$w->id
'id'=>$w->id,
'action'=>'entry'
));
}
$WikiPage =& $db->model('WikiPage');
Expand All @@ -67,7 +68,8 @@ function wiki_urls(){
while ($w = $WikiPage->MoveNext()){
$request->connect( str_replace(' ','',$w->title), array(
'resource'=>'wiki_pages',
'id'=>$w->id
'id'=>$w->id,
'action'=>'entry'
));
}
$wiki_urls_loaded = 'done';
Expand Down

0 comments on commit 2bb4216

Please sign in to comment.