get_image_link fix
[mirrors/Kyberia-bloodline.git] / wwwroot / inc / eventz / configure_email.inc
CommitLineData
51ff3226 1<?php
2function 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') {
7 if(!empty($node_id)) {
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'";
11 $db->query($q);
12 }
13 }
14 }
15return true;
16}
17?>
This page took 1.681099 seconds and 4 git commands to generate.