define variables

This commit is contained in:
lopar 2019-06-21 21:56:59 +03:00
parent b28be0ea6a
commit 22be070331
1 changed files with 1 additions and 1 deletions

View File

@ -646,7 +646,7 @@ VALUES ("?s","?s",?i,?i,?i,"?s","?s",?i,?i,?i,?i)',
$zay = new zayavka;
header("Cache-Control: no-cache");
if ($_POST['open']) {
if (!empty($_POST['open'])) {
$f = fopen("/tmp/zayavka/" . $user['id'] . ".txt", "w+");
fputs($f, time());
fclose($f);