GIT.Harvie.CZ
/
mirrors
/
Kyberia-bloodline.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reset_password fix
[mirrors/Kyberia-bloodline.git]
/
wwwroot
/
inc
/
eventz
/
set_header_template.inc
diff --git
a/wwwroot/inc/eventz/set_header_template.inc
b/wwwroot/inc/eventz/set_header_template.inc
index 6743687d3e86ed0dcc4343981ccfca37b48777a2..f3f5d0b95e2b31198a238caab2ade3dac683d0dd 100644
(file)
--- a/
wwwroot/inc/eventz/set_header_template.inc
+++ b/
wwwroot/inc/eventz/set_header_template.inc
@@
-2,7
+2,7
@@
// modifikacia ktora dovoli natiahnut iba spravny header template
function set_header_template() {
global $db,$error;
// modifikacia ktora dovoli natiahnut iba spravny header template
function set_header_template() {
global $db,$error;
-$header_id=
mysql_real
_escape_string($_POST['header_id']);
+$header_id=
db
_escape_string($_POST['header_id']);
$user_id=$_SESSION['user_id'];
if (!$user_id) {
$user_id=$_SESSION['user_id'];
if (!$user_id) {
@@
-21,4
+21,4
@@
$db->query("update users set header_id='$header_id' where user_id='$user_id'");
$_SESSION['header_id']=$header_id;
}
$_SESSION['header_id']=$header_id;
}
-?>
\ No newline at end of file
+?>
This page took
0.098565 seconds
and
4
git commands to generate.