# HG changeset patch # User Dan Fuhry # Date 1288251177 14400 # Node ID 2a14b5a25338fd6744584930342e1b0fae0f15e8 # Parent f9bee9b125ee673a9e2eab94e2662c400438e446 Fixed a table_prefix omission in File namespace code. 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])) .