Project

General

Profile

« Previous | Next » 

Revision 1567

Added by Dietmar almost 13 years ago

fix wbmailer_smtp_auth, could not be disabled after enabled

View differences:

save.php
4 4
 * @category        admin
5 5
 * @package         settings
6 6
 * @author          WebsiteBaker Project
7
 * @copyright       2004-2009, Ryan Djurovich
8
 * @copyright       2009-2011, Website Baker Org. e.V.
7
 * @copyright       2009-2012, Website Baker Org. e.V.
9 8
 * @link			http://www.websitebaker2.org/
10 9
 * @license         http://www.gnu.org/licenses/gpl.html
11 10
 * @platform        WebsiteBaker 2.8.x
......
172 171
		break;
173 172
		case 'pages_directory':
174 173
			break;
174
		case 'wbmailer_smtp_auth':
175
			$value = isset($_POST[$setting_name]) ? $_POST[$setting_name] : '' ;
176
 			$passed = true;
177
			break;
175 178
		default :
176 179
		    $passed = in_array($setting_name, $allow_empty_values);
177 180
			break;
......
238 241
	$admin->print_success($MESSAGE['SETTINGS']['SAVED'], $js_back );
239 242
}
240 243
$admin->print_footer();
241

  
242
?>

Also available in: Unified diff