summaryrefslogtreecommitdiff
path: root/includes/controllers/remotelink_ctrl.php
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2010-06-01 22:45:00 +0000
committerfisharebest <fisharebest@gmail.com>2010-06-01 22:45:00 +0000
commit2be689de86622a917b2bbe48294424f72e19d527 (patch)
treeef49177d0b2ddacdf9726476f4305af5a14c5c79 /includes/controllers/remotelink_ctrl.php
parent3c211ff6d2625cbb6047586521b3306fdf9507af (diff)
downloadwebtrees-2be689de86622a917b2bbe48294424f72e19d527.tar.gz
webtrees-2be689de86622a917b2bbe48294424f72e19d527.tar.bz2
webtrees-2be689de86622a917b2bbe48294424f72e19d527.zip
Quote table names - to allow for "bad" choices of TBLPREFIX
Diffstat (limited to 'includes/controllers/remotelink_ctrl.php')
-rw-r--r--includes/controllers/remotelink_ctrl.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/controllers/remotelink_ctrl.php b/includes/controllers/remotelink_ctrl.php
index 081e25c127..ea80a9dbe2 100644
--- a/includes/controllers/remotelink_ctrl.php
+++ b/includes/controllers/remotelink_ctrl.php
@@ -234,7 +234,7 @@ class RemoteLinkController extends BaseController {
//-- check for recent additions
return WT_DB::prepare(
"SELECT xref".
- " FROM ##change".
+ " FROM `##change`".
" WHERE status='pending' AND gedcom_id=? AND new_gedcom LIKE CONCAT('%\n1 _DBID ', ?, '%')".
" ORDER BY change_id DESC".
" LIMIT 1"