svn: /web/php-master/trunk/scripts/ update-user-notes
| From: | Daniel P. Brown | Date: | Wed, 11 Jan 2012 01:25:22 +0000 |
| Subject: | svn: /web/php-master/trunk/scripts/ update-user-notes | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-12776@lists.php.net to get a copy of this message | ||
danbrown Wed, 11 Jan 2012 01:25:22 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=322044
Log:
Thanks to Peter Cowburn (salathe) for noticing the errantly-omitted condition.
Changed paths:
U web/php-master/trunk/scripts/update-user-notes
Modified: web/php-master/trunk/scripts/update-user-notes
===================================================================
--- web/php-master/trunk/scripts/update-user-notes 2012-01-11 01:01:12 UTC (rev 322043)
+++ web/php-master/trunk/scripts/update-user-notes 2012-01-11 01:25:22 UTC (rev 322044)
@@ -15,7 +15,7 @@
$token = rawurlencode($token);
$root = $argv[1];
-if (substr($root,-1)) {
+if (substr($root,-1) != '/') {
$root = "$root/";
}
$since = $argv[2];