Fixed typo in [configure_external_access] event
[mirrors/Kyberia-bloodline.git] / wwwroot / inc / eventz / configure_bookmarks.inc
1 <?php
2 function configure_bookmarks() {
3 global $db,$error,$node;
4 $node_id=$node['node_id'];
5 $db->query("update node_access set bookmark_category=0 where user_id='".$_SESSION['user_id']."' and bookmark_category='$node_id'");
6 foreach($_POST['bookmark'] as $key =>$value) {
7 $db->query("update node_access set bookmark_category='$node_id' where user_id='".$_SESSION['user_id']."' and node_id='$key'");
8 }
9
10 }
11 ?>
This page took 0.237831 seconds and 4 git commands to generate.