Changeset 10976 for extensions/UserAdvManager/trunk/admin/UAM_admin.php
- Timestamp:
- May 21, 2011, 4:32:47 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/UserAdvManager/trunk/admin/UAM_admin.php
r10957 r10976 186 186 $conf['UserAdvManager'] = serialize($newconf_UAM); 187 187 188 $query = ' 189 UPDATE '.CONFIG_TABLE.' 190 SET value="'.pwg_db_real_escape_string($conf['UserAdvManager']).'" 191 WHERE param="UserAdvManager" 192 LIMIT 1 193 ;'; 194 195 pwg_query($query); 188 conf_update_param('UserAdvManager', pwg_db_real_escape_string($conf['UserAdvManager'])); 196 189 197 190 //Email confirmation settings … … 214 207 215 208 $conf['UserAdvManager_ConfirmMail'] = serialize($newconf_UAM_ConfirmMail); 216 217 $query = ' 218 UPDATE '.CONFIG_TABLE.' 219 SET value="'.pwg_db_real_escape_string($conf['UserAdvManager_ConfirmMail']).'" 220 WHERE param="UserAdvManager_ConfirmMail" 221 LIMIT 1 222 ;'; 223 224 pwg_query($query); 209 210 conf_update_param('UserAdvManager_ConfirmMail', pwg_db_real_escape_string($conf['UserAdvManager_ConfirmMail'])); 225 211 226 212 array_push($page['infos'], l10n('UAM_save_config'));
Note: See TracChangeset
for help on using the changeset viewer.