]> git.mxchange.org Git - friendica.git/blobdiff - mod/item.php
More replaced "q" calls
[friendica.git] / mod / item.php
index f40f6ad45d30fb37f3851f55b8bbf7bed8ac8d10..bfb865b790553d3ee293acfc40f117a4beba0652 100644 (file)
@@ -686,7 +686,7 @@ function item_post(App $a) {
        Hook::callAll('post_local',$datarray);
 
        if (!empty($_REQUEST['scheduled_at'])) {
-               $scheduled_at = DateTimeFormat::convert($_REQUEST['scheduled_at'], 'UTC', $a->getTimezone());
+               $scheduled_at = DateTimeFormat::convert($_REQUEST['scheduled_at'], 'UTC', $a->getTimeZone());
                if ($scheduled_at > DateTimeFormat::utcNow()) {
                        unset($datarray['created']);
                        unset($datarray['edited']);