make sure that array key value is set and not empty
authortokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 8 Oct 2006 16:14:50 +0000 (16:14 +0000)
committertokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 8 Oct 2006 16:14:50 +0000 (16:14 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11866 7612ce4b-ef26-0410-bec9-ea0150e637f0

templates/default/compose_buttons.tpl

index cbb3126e2e5d3eebf9d7a7f8879b647b5c66aace..8120c050684f78ca679bc81079976b5abdba31ef 100644 (file)
@@ -71,7 +71,7 @@ extract($t);
     }
    ?>
    <input type="submit" name="send" value="<?php echo _("Send"); ?>" />&nbsp;
-   <?php echo @$plugin_output['compose_button_row']; ?>
+   <?php if (!empty($plugin_output['compose_button_row'])) echo $plugin_output['compose_button_row']; ?>
   </td>
  </tr>
 </table>