Changeset 9542 for extensions/adult_content/admin
- Timestamp:
- Mar 5, 2011, 11:23:58 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/adult_content/admin/admin.php
r9530 r9542 14 14 if (isset($_POST['option_ad_c'])) 15 15 { 16 $newconf_plugin = array( 17 $_POST['menublock_for_guest'], 18 $_POST['block_on_index'], 19 ); 20 $newconf_plugin = implode ("," , $newconf_plugin); 16 $newconf_plugin = (isset($_POST['menublock_for_guest'])) ? 'true' : 'false'; 17 $newconf_plugin .= (isset($_POST['block_on_index'])) ? ',true' : ',false'; 18 //$newconf_plugin = implode ("," , $newconf_plugin); 21 19 $query = ' 22 20 UPDATE '.CONFIG_TABLE.'
Note: See TracChangeset
for help on using the changeset viewer.