Merge pull request #9 from simonlnu/wppost

fix bug #290
pull/10/merge
friendica 2012-02-21 15:20:31 -08:00
commit 560b28b666
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ function wppost_jot_nets(&$a,&$b) {
if(intval($wp_post) == 1) { if(intval($wp_post) == 1) {
$wp_defpost = get_pconfig(local_user(),'wppost','post_by_default'); $wp_defpost = get_pconfig(local_user(),'wppost','post_by_default');
$selected = ((intval($wp_defpost) == 1) ? ' checked="checked" ' : ''); $selected = ((intval($wp_defpost) == 1) ? ' checked="checked" ' : '');
$b .= '<div class="profile-jot-net"><input type="checkbox" name="wppost_enable"' . $selected . 'value="1" /> ' $b .= '<div class="profile-jot-net"><input type="checkbox" name="wppost_enable" ' . $selected . ' value="1" /> '
. t('Post to Wordpress') . '</div>'; . t('Post to Wordpress') . '</div>';
} }
} }