add event partially fixed
authorDaniel Hromada <hromi@Aphrodité.(none)>
Thu, 9 Dec 2010 01:13:12 +0000 (02:13 +0100)
committerDaniel Hromada <hromi@Aphrodité.(none)>
Thu, 9 Dec 2010 01:13:12 +0000 (02:13 +0100)
wwwroot/inc/eventz/add.inc

index 83ea201f764cf68b962814363fa09e3d89656760..b18a2ca302c744f6736bda613386f1d0a08b8181 100644 (file)
@@ -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;
This page took 0.139552 seconds and 4 git commands to generate.