Fix PHP Warning: Use of undefined constant 'href'

pull/6072/head
Aleksander Machniak 7 years ago
parent bb65c9d444
commit 6be149655f

@ -29,7 +29,6 @@ $OUTPUT->add_handler('pluginlist', 'rcmail_plugins_list');
$OUTPUT->send('about');
function rcmail_supportlink($attrib)
{
global $RCMAIL;
@ -93,9 +92,9 @@ function rcmail_plugins_list($attrib)
$table->add_row();
$table->add('name', rcube::Q($data['name'] ?: $name));
$table->add('version', rcube::Q($data['version']));
$table->add('license', $data['license_uri'] ? html::a(array('target' => '_blank', href=> rcube::Q($data['license_uri'])),
$table->add('license', $data['license_uri'] ? html::a(array('target' => '_blank', 'href' => rcube::Q($data['license_uri'])),
rcube::Q($data['license'])) : $data['license']);
$table->add('source', $uri ? html::a(array('target' => '_blank', href=> rcube::Q($uri)),
$table->add('source', $uri ? html::a(array('target' => '_blank', 'href' => rcube::Q($uri)),
rcube::Q($RCMAIL->gettext('download'))) : '');
}

Loading…
Cancel
Save