diff options
| author | fisharebest <fisharebest@gmail.com> | 2010-06-01 22:45:00 +0000 |
|---|---|---|
| committer | fisharebest <fisharebest@gmail.com> | 2010-06-01 22:45:00 +0000 |
| commit | 2be689de86622a917b2bbe48294424f72e19d527 (patch) | |
| tree | ef49177d0b2ddacdf9726476f4305af5a14c5c79 /includes/controllers/remotelink_ctrl.php | |
| parent | 3c211ff6d2625cbb6047586521b3306fdf9507af (diff) | |
| download | webtrees-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.php | 2 |
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" |
