X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=ljpost%2Fljpost.php;h=1d5703e1571a432c1dee2d75d75fb0892c54e78a;hb=27b60e003f92dd9f3aebbeddb34ebb905488ca82;hp=9f3af04322b364b728a87d6779fad6e661f1d4fb;hpb=42eefed6e68d241bd8bdf9eceea96abc445a9cac;p=friendica-addons.git diff --git a/ljpost/ljpost.php b/ljpost/ljpost.php old mode 100755 new mode 100644 index 9f3af043..1d5703e1 --- a/ljpost/ljpost.php +++ b/ljpost/ljpost.php @@ -152,7 +152,7 @@ function ljpost_send(&$a,&$b) { if($b['parent'] != $b['id']) return; - // LiveJournal post in the LJ user's timezone. + // LiveJournal post in the LJ user's timezone. // Hopefully the person's Friendica account // will be set to the same thing. @@ -162,7 +162,7 @@ function ljpost_send(&$a,&$b) { intval($b['uid']) ); if($x && strlen($x[0]['timezone'])) - $tz = $x[0]['timezone']; + $tz = $x[0]['timezone']; $lj_username = xmlify(PConfig::get($b['uid'],'ljpost','lj_username')); $lj_password = xmlify(PConfig::get($b['uid'],'ljpost','lj_password')); @@ -234,7 +234,7 @@ EOT; logger('ljpost: data: ' . $xml, LOGGER_DATA); if($lj_blog !== 'test') - $x = post_url($lj_blog,$xml,array("Content-Type: text/xml")); + $x = post_url($lj_blog,$xml,["Content-Type: text/xml"]); logger('posted to livejournal: ' . ($x) ? $x : '', LOGGER_DEBUG); }