diff -r f9bee9b125ee -r 2a14b5a25338 includes/namespaces/file.php
--- a/includes/namespaces/file.php Thu Oct 28 03:05:31 2010 -0400
+++ b/includes/namespaces/file.php Thu Oct 28 03:32:57 2010 -0400
@@ -190,7 +190,7 @@
$db->free_result();
$html .= '
' . $lang->get('onpage_filebox_lbl_pagesusing') . '
';
$q = $db->sql_query('SELECT t.page_id, t.namespace, p.name FROM ' . table_prefix . "page_text AS t\n"
- . " LEFT JOIN enano_pages AS p\n"
+ . " LEFT JOIN " . table_prefix . "pages AS p\n"
. " ON ( t.page_id = p.urlname AND t.namespace = p.namespace )\n"
. " WHERE t.page_text REGEXP '\\\\[\\\\[:" .
addslashes(preg_quote($paths->nslist[$this->namespace])) .