Commit: f0ad7ed7515d5822f840661d97907717a4c9a92f Author: Martin Jansen <[email protected]> Mon, 1 Jun 2020 10:32:33 +0200 Parents: e471466e32ba7882ab08038de14a300deb8d1a8b Branches: master
Link: http://git.php.net/?p=web/master.git;a=commitdiff;h=f0ad7ed7515d5822f840661d97907717a4c9a92f Log: Fix access to $argv[2] Changed paths: M scripts/update-user-notes Diff: diff --git a/scripts/update-user-notes b/scripts/update-user-notes index 09a3bb7..5d46694 100755 --- a/scripts/update-user-notes +++ b/scripts/update-user-notes @@ -18,7 +18,7 @@ $root = $argv[1]; if (substr($root,-1) != '/') { $root = "$root/"; } -$since = $argv[2]; +$since = ($argc == 3 ? $argv[2] : ""); $SSL_fopen = false; if(in_array('https', stream_get_wrappers())) { -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
