2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

Remove debugging string

Fix error in rs_quota_end
This commit is contained in:
Adam Zammit
2017-07-05 09:16:50 +10:00
parent c578983e47
commit 4fe2c367c1
2 changed files with 2 additions and 4 deletions

View File

@@ -2657,8 +2657,6 @@ function check_quota($checkaction,$surveyid)
WHERE ".implode(' AND ',$querycond)." "." WHERE ".implode(' AND ',$querycond)." "."
AND s.submitdate IS NOT NULL"; AND s.submitdate IS NOT NULL";
error_log($querysel);
$result = db_execute_assoc($querysel) or safe_die($connect->ErrorMsg()); //Checked $result = db_execute_assoc($querysel) or safe_die($connect->ErrorMsg()); //Checked
$quota_check = $result->FetchRow(); $quota_check = $result->FetchRow();

View File

@@ -71,11 +71,11 @@ if (isset($_GET['message'])) print "<p class='rstext well'>" . template_replace
$des = $db->GetOne("SELECT description FROM outcome WHERE outcome_id = 32"); $des = $db->GetOne("SELECT description FROM outcome WHERE outcome_id = 32");
print "<p class=' '><h4 class=''>" . T_("End call with outcome:") . "<a class='btn btn-primary' " print "<p class=' '><h4 class=''>" . T_("End call with outcome:") . "<a class='btn btn-primary' ";
if (ALTERNATE_INTERFACE && !is_voip_enabled($operator_id)) if (ALTERNATE_INTERFACE && !is_voip_enabled($operator_id))
print "href=\"javascript:parent.location.href = 'index_interface2.php?outcome=32&endcase=endcase'\">"; print "href=\"javascript:parent.location.href = 'index_interface2.php?outcome=32&endcase=endcase'\">";
else else
print "href=\"javascript:parent.poptastic('call.php?defaultoutcome=32');\">"; print "href=\"javascript:parent.poptastic('call.php?defaultoutcome=32');\">";
print T_($des[0]['description']) . "</a></p>"; print T_($des[0]['description']) . "</a></p>";