mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Removed reference to secondary database link $ldb
This means that both the limesurvey and the quexs tables must be in the same database, with the same connection But has the advantage of being able to join records across tables easily
This commit is contained in:
1 parent
268af2bd5e
commit
54bea820c2
8 files changed
+38
-76
No files matched your search
+1
-1
@@ -162,7 +162,7 @@ if (!empty($rs))
|
||||
{
|
||||
$sql = "SELECT count(*)
|
||||
FROM " . LIME_PREFIX ."tokens_{$r['lime_sid']}";
|
||||
$rs2 = $ldb->GetRow($sql);
|
||||
$rs2 = $db->GetRow($sql);
|
||||
|
||||
if (empty($rs2))
|
||||
print "<p class='error'>" . T_("ERROR: No tokens table defined for LimeSurvey questionnaire") . " {$r['lime_sid']} " . T_("from questionnaire:") . " {$r['description']}</p>";
|
||||
|
||||
Reference in new issue
Block a user