We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 738b9cd commit 5d97f67Copy full SHA for 5d97f67
read.php
@@ -55,8 +55,7 @@
55
// Check if both conditions passed, build where conditions
56
$conditions = isset($requestData['conditions']) ? buildWhereClause($conn, $requestData['conditions']) : '';
57
$rawConditions = isset($requestData['rawConditions']) ? implode(' ', $requestData['rawConditions']) : '';
58
- // mysqli_real_escape_string($conn, $condition['on']);
59
- echo $rawConditions;
+
60
// Check if both conditions and rawConditions are passed in the request
61
if ($conditions && $rawConditions) {
62
throw new Exception('You cannot pass both conditions or rawConditions in the request, use only one of them');
0 commit comments