2 function configure_email() {
3 global $db,$error,$node;
4 $node_id=$node['node_id'];
5 $user_id=$_SESSION['user_id'];
6 if ($node['node_permission']=='owner') {
8 if($node_id == $user_id) {
9 $user_email=addslashes($_POST['user_email']);
10 $q="update users set email='$user_email' where user_id='$node_id'";