diff options
author | Friendika <info@friendika.com> | 2011-03-09 14:39:18 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-03-09 14:39:18 -0800 |
commit | 1c779e20618baf0d348ad52bc877d9a7a7923641 (patch) | |
tree | 454ebe8d95085d424fa4614f98709ca3219f855d /addon/statusnet | |
parent | 6f9eadfe6e73bf20765228915bf41d0e673414ce (diff) | |
download | volse-hubzilla-1c779e20618baf0d348ad52bc877d9a7a7923641.tar.gz volse-hubzilla-1c779e20618baf0d348ad52bc877d9a7a7923641.tar.bz2 volse-hubzilla-1c779e20618baf0d348ad52bc877d9a7a7923641.zip |
fb "post by default" implemented, post_by_default logic fixed for other plugins
Diffstat (limited to 'addon/statusnet')
-rw-r--r-- | addon/statusnet/statusnet.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addon/statusnet/statusnet.php b/addon/statusnet/statusnet.php index 1deb030c1..f763cd0c3 100644 --- a/addon/statusnet/statusnet.php +++ b/addon/statusnet/statusnet.php @@ -73,7 +73,7 @@ function statusnet_jot_nets(&$a,&$b) { $statusnet_post = get_pconfig(local_user(),'statusnet','post'); if(intval($statusnet_post) == 1) { $statusnet_defpost = get_pconfig(local_user(),'statusnet','post_by_default'); - $selected = ((intval($statusnet_defpost == 1)) ? ' selected="selected" ' : ''); + $selected = ((intval($statusnet_defpost) == 1) ? ' checked="checked" ' : ''); $b .= '<div class="profile-jot-net"><input type="checkbox" name="statusnet_enable"' . $selected . 'value="1" /> ' . t('Post to StatusNet') . '</div>'; } |