From f4936d7c5876bdb9d11ebab7cf9268d176c1f8bd Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sun, 20 Jul 2008 16:28:32 -0400 Subject: [PATCH] too much merlot on the airplane, dumb syntax mistake darcs-hash:20080720202832-84dde-918fb1d27d1dd1f06e3bceeb5217c136e6d78ac5.gz --- actions/profilesettings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/profilesettings.php b/actions/profilesettings.php index eeeb8592f3..09b5b5abc3 100644 --- a/actions/profilesettings.php +++ b/actions/profilesettings.php @@ -53,7 +53,7 @@ class ProfilesettingsAction extends SettingsAction { ($this->arg('location')) ? $this->arg('location') : $profile->location, _('Where you are, like "City, State (or Region), Country"')); common_checkbox('autosubscribe', _('Automatically subscribe to whoever subscribes to me (best for non-humans)'), - ($this->arg('autosubscribe') : $this->boolean('autosubscribe') : $user->autosubscribe); + ($this->arg('autosubscribe')) ? $this->boolean('autosubscribe') : $user->autosubscribe); common_submit('submit', _('Save')); common_element_end('form'); common_show_footer(); -- 2.39.5