Changeset 31542 for extensions/user_custom_fields/include/function.inc.php
- Timestamp:
- Apr 9, 2016, 7:33:07 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/user_custom_fields/include/function.inc.php
r31541 r31542 56 56 } 57 57 58 function tab_user_custom_fields_adminlist($id_ucf=NULL){ 59 $query = ' 60 SELECT id_ucf,wording,order_ucf,active,edit,adminonly,obligatory 61 FROM ' . UCF_TABLE; 62 $query .= ' WHERE edit=1'; 63 if($id_ucf!=null){ 64 $query .= ' AND id_ucf='.$id_ucf; 65 } 66 $query .= ' ORDER BY order_ucf ASC 67 ;'; 68 return pwg_query($query); 69 } 70 58 71 ?>
Note: See TracChangeset
for help on using the changeset viewer.