Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fa894b
)
fixed hardcoded prefixes in wiki table names
author
Petr Skoda
<skodak@moodle.org>
Wed, 27 Oct 2010 08:11:21 +0000
(08:11 +0000)
committer
Petr Skoda
<skodak@moodle.org>
Wed, 27 Oct 2010 08:11:21 +0000
(08:11 +0000)
mod/wiki/locallib.php
patch
|
blob
|
blame
|
history
diff --git
a/mod/wiki/locallib.php
b/mod/wiki/locallib.php
index
35fb5cd
..
dd316c9
100644
(file)
--- a/
mod/wiki/locallib.php
+++ b/
mod/wiki/locallib.php
@@
-1341,8
+1341,8
@@
function wiki_get_linked_pages($pageid) {
global $DB;
$sql = "SELECT p.id, p.title
- FROM
mdl_wiki_pages
p
- JOIN
mdl_wiki_links
l ON l.topageid = p.id
+ FROM
{wiki_pages}
p
+ JOIN
{wiki_links}
l ON l.topageid = p.id
WHERE l.frompageid = ?
ORDER BY p.title ASC";
return $DB->get_records_sql($sql, array($pageid));