From: Michael Date: Tue, 14 Mar 2017 15:17:21 +0000 (+0000) Subject: Standard stuff X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f73389dd125157a87e638d99be20847f5255c4b6;p=friendica.git Standard stuff --- diff --git a/include/cron.php b/include/cron.php index d2471c2bf7..0ae336e33f 100644 --- a/include/cron.php +++ b/include/cron.php @@ -1,8 +1,8 @@ 1) && (intval($argv[1]))) + if (($argc > 1) && (intval($argv[1]))) { $contact_id = intval($argv[1]); + } - if(!$contact_id) { + if (!$contact_id) { logger('update_gcontact: no contact'); return; }