From: Evan Prodromou Date: Sun, 20 Jul 2008 20:28:32 +0000 (-0400) Subject: too much merlot on the airplane, dumb syntax mistake X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f4936d7c5876bdb9d11ebab7cf9268d176c1f8bd;p=quix0rs-gnu-social.git too much merlot on the airplane, dumb syntax mistake darcs-hash:20080720202832-84dde-918fb1d27d1dd1f06e3bceeb5217c136e6d78ac5.gz --- 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();