X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=plugins%2Fqrcode%2Fqrcode.php;h=5f6e76a2f8c42d035f0c7026158b463935d953b0;hb=90e5bd65c9d4a5d3d5cedfeaa1314f2a15df5227;hp=1080c9645d32bfebd76c7914d6d85f3747324f10;hpb=986afb752bc57271e76935da9ed2df6ef8713cb7;p=github%2Fshaarli%2FShaarli.git diff --git a/plugins/qrcode/qrcode.php b/plugins/qrcode/qrcode.php index 1080c964..5f6e76a2 100644 --- a/plugins/qrcode/qrcode.php +++ b/plugins/qrcode/qrcode.php @@ -17,7 +17,7 @@ function hook_qrcode_render_linklist($data) $qrcode_html = file_get_contents(PluginManager::$PLUGINS_PATH . '/qrcode/qrcode.html'); foreach ($data['links'] as &$value) { - $qrcode = sprintf($qrcode_html, $value['url'], $value['url'], PluginManager::$PLUGINS_PATH); + $qrcode = sprintf($qrcode_html, $value['real_url'], $value['real_url'], PluginManager::$PLUGINS_PATH); $value['link_plugin'][] = $qrcode; }