Change how get_settings errors are returned.

git-svn-id: http://svn.automattic.com/wordpress/trunk@708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2004-01-03 22:20:25 +00:00
parent da2fc24f4d
commit 4ef7999064

View File

@ -550,7 +550,7 @@ function get_settings($setting) {
$settings = $cache_settings;
}
if (!isset($settings->$setting)) {
error_log("get_settings: Didn't find setting $setting");
return false;
}
else {
return $settings->$setting;