X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Faction.php;h=c019b65dc92f40e38f2acfe74991cbc5149d8bb4;hb=931753229328d0ebdf80b76b898a736c06dc70a4;hp=0aabef4abb5eb800e589ea5364431b429331d36a;hpb=c909f351d07c50c433cd59fef00f41a67767ce9e;p=quix0rs-gnu-social.git diff --git a/lib/action.php b/lib/action.php index 0aabef4abb..c019b65dc9 100644 --- a/lib/action.php +++ b/lib/action.php @@ -1167,12 +1167,10 @@ class Action extends HTMLOutputter // lawsuit // TRANS: license message in footer. // TRANS: %1$s is the site name, %2$s is a link to the license URL, with a licence name set in configuration. $notice = _('All %1$s content and data are available under the %2$s license.'); - $link = "" . - htmlspecialchars(common_config('license', 'title')) . - ""; - $this->raw(sprintf(htmlspecialchars($notice), + $link = sprintf('%2$s', + htmlspecialchars(common_config('license', 'url')), + htmlspecialchars(common_config('license', 'title'))); + $this->raw(@sprintf(htmlspecialchars($notice), htmlspecialchars(common_config('site', 'name')), $link)); $this->elementEnd('p');