mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-25 23:43:16 +00:00
And again a notice
This commit is contained in:
parent
3274124223
commit
9578e3ff2a
1 changed files with 2 additions and 2 deletions
|
@ -120,8 +120,8 @@ function blogger_settings(App $a, &$s)
|
||||||
function blogger_settings_post(App $a, array &$b)
|
function blogger_settings_post(App $a, array &$b)
|
||||||
{
|
{
|
||||||
if (!empty($_POST['blogger-submit'])) {
|
if (!empty($_POST['blogger-submit'])) {
|
||||||
PConfig::set(local_user(), 'blogger', 'post', intval($_POST['blogger']));
|
PConfig::set(local_user(), 'blogger', 'post', defaults($_POST, 'blogger', false));
|
||||||
PConfig::set(local_user(), 'blogger', 'post_by_default', intval($_POST['bl_bydefault']));
|
PConfig::set(local_user(), 'blogger', 'post_by_default', defaults($_POST, 'bl_bydefault', false));
|
||||||
PConfig::set(local_user(), 'blogger', 'bl_username', trim($_POST['bl_username']));
|
PConfig::set(local_user(), 'blogger', 'bl_username', trim($_POST['bl_username']));
|
||||||
PConfig::set(local_user(), 'blogger', 'bl_password', trim($_POST['bl_password']));
|
PConfig::set(local_user(), 'blogger', 'bl_password', trim($_POST['bl_password']));
|
||||||
PConfig::set(local_user(), 'blogger', 'bl_blog', trim($_POST['bl_blog']));
|
PConfig::set(local_user(), 'blogger', 'bl_blog', trim($_POST['bl_blog']));
|
||||||
|
|
Loading…
Reference in a new issue