avoid uninitlized value when urlto is called with 1 parameter and no url is configured
authorJoey Hess <joey@kitenet.net>
Sun, 27 Feb 2011 22:32:44 +0000 (18:32 -0400)
committerJoey Hess <joey@kitenet.net>
Sun, 27 Feb 2011 22:32:44 +0000 (18:32 -0400)
commit2a2ae88c84da1793fc927b527927fe1c5ae6a7d6
tree774f4b82d00776e8591ba7244ed0e471f6b5bd7c
parentb34d31142b9fed28ec9cf77fe0c5d9f405d48c84
avoid uninitlized value when urlto is called with 1 parameter and no url is configured

This brings back the old behavior before urlto changes for this case.
It will generate a path like "/foo", which is not right, but is
the same as is generated by urlto($page, "", 1) -- which is what
the code that now uses 1-parameter urlto used to use.
IkiWiki.pm