edit_record.php
changeset 126 cb06e3e29ed8
parent 120 982f722376b4
child 127 e2c54e888f7e
--- a/edit_record.php	Thu Apr 03 18:57:11 2008 +0000
+++ b/edit_record.php	Thu Apr 03 21:48:36 2008 +0000
@@ -22,16 +22,16 @@
 require_once("inc/toolkit.inc.php");
 include_once("inc/header.inc.php");
 
-if (verify_permission(zone_content_view_others)) { $perm_view = "all" ; }
-elseif (verify_permission(zone_content_view_own)) { $perm_view = "own" ; }
+if (verify_permission('zone_content_view_others')) { $perm_view = "all" ; }
+elseif (verify_permission('zone_content_view_own')) { $perm_view = "own" ; }
 else { $perm_view = "none" ; }
 
-if (verify_permission(zone_content_edit_others)) { $perm_content_edit = "all" ; }
-elseif (verify_permission(zone_content_edit_own)) { $perm_content_edit = "own" ; }
+if (verify_permission('zone_content_edit_others')) { $perm_content_edit = "all" ; }
+elseif (verify_permission('zone_content_edit_own')) { $perm_content_edit = "own" ; }
 else { $perm_content_edit = "none" ; }
 
-if (verify_permission(zone_meta_edit_others)) { $perm_meta_edit = "all" ; }
-elseif (verify_permission(zone_meta_edit_own)) { $perm_meta_edit = "own" ; }
+if (verify_permission('zone_meta_edit_others')) { $perm_meta_edit = "all" ; }
+elseif (verify_permission('zone_meta_edit_own')) { $perm_meta_edit = "own" ; }
 else { $perm_meta_edit = "none" ; }
 
 $zid = get_zone_id_from_record_id($_GET["id"]);