-
-
Save kamaulynder/789710 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Append phone numbers that comes from monitors to their location. | |
* TODO rework this wack solution | |
*/ | |
public function _append_location_find() { | |
$location_find = Event::$data; | |
if (isset($_SESSION['from_location'])) | |
{ | |
$location_find = $_SESSION['from_location']; | |
$this->from_monitors = "m"; | |
if (empty($location_find)) | |
{ | |
$location_find = ""; | |
$this->from_monitors = ""; | |
} | |
} | |
unset($_SESSION['from_location']); | |
Event::$data = $location_find; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment