Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.35 KB | None | 0 0
  1. if ($count > 0) {
  2.     if ($resource['not_allow_appoint_overlap'] == 1) {
  3.         $this->resultERROR("Įvykis nebus išsaugotas - jis persidengia su kitu resurso ".$resource['name']." įvykiu");
  4.     } else {
  5.         $this->resulOK(1, "if (confirm("Įvykis persidengia su kitu resurso ".$resource['name']." įvykiu. Ar tęsti?") == false) {/*die*/}");
  6.     }
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement