|
@@ -1,14 +1,14 @@
|
|
|
<?php
|
|
<?php
|
|
|
|
|
|
|
|
if (is_ajax()) {
|
|
if (is_ajax()) {
|
|
|
- if (isset($_POST["venue"]) && !empty($_POST["venue"])) { //Checks if action value exists
|
|
|
|
|
|
|
+ // if (isset($_POST["venue"]) && !empty($_POST["venue"])) { //Checks if action value exists
|
|
|
// $action = $_POST["action"];
|
|
// $action = $_POST["action"];
|
|
|
// switch ($action) { //Switch case for value of action
|
|
// switch ($action) { //Switch case for value of action
|
|
|
// case "test":
|
|
// case "test":
|
|
|
test_function();
|
|
test_function();
|
|
|
// break;
|
|
// break;
|
|
|
//}
|
|
//}
|
|
|
- }
|
|
|
|
|
|
|
+ // }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
//Function to check if the request is an AJAX request
|
|
//Function to check if the request is an AJAX request
|