From ff8a58af03e410fa9a4df0186fad70561dd054d6 Mon Sep 17 00:00:00 2001 From: Daniel Hromada Date: Thu, 9 Dec 2010 02:13:12 +0100 Subject: [PATCH] add event partially fixed --- wwwroot/inc/eventz/add.inc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/wwwroot/inc/eventz/add.inc b/wwwroot/inc/eventz/add.inc index 83ea201..b18a2ca 100644 --- a/wwwroot/inc/eventz/add.inc +++ b/wwwroot/inc/eventz/add.inc @@ -103,10 +103,6 @@ function add() { $node_content=crypto::crypto($node_content,$key); - //setting generated crypto password for viewing - if ($node_system_access=='crypto') { - $_SESSION['crypto'][$id]=$key; - } } @@ -115,7 +111,7 @@ function add() { $params['node_parent']=$node_parent; $params['node_system_access']=$node_system_access; $params['node_creator']=$_SESSION['user_id']; - $params['node_content']=$node_content; + $params['node_content']=mysql_escape_string($node_content); $params['external_link']=$external_link; nodes::addNode($params); return true; -- 2.30.2