git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13452
7612ce4b-ef26-0410-bec9-
ea0150e637f0
case 'submit':
if ($widget_name != 'moveButton' && $widget_name != 'copyButton' && $widget_name != 'delete' && $widget_name != 'undeleteButton') { // add these later in another table cell
echo '<input type="submit" name="' . $widget_name . '" value="' . $widget_attrs['value'] . '" class="message_control_button"';
- if ($widget_attrs['accesskey'] != 'NONE')
+ if (isset($widget_attrs['accesskey'])
+ && $widget_attrs['accesskey'] != 'NONE')
echo ' accesskey="' . $widget_attrs['accesskey'] . '"';
if (!empty($widget_attrs['extra_attrs'])) {
foreach ($widget_attrs['extra_attrs'] as $attr => $val) {