X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Flistcommands%2Fmailout.php;h=56b8416c4520782da4e992e3e5fa9488dded67e7;hp=9040fef87d7161892f915bf2d26c65185b68ddc2;hb=b587ac51cdb214754146d61829ba87bf4341f949;hpb=67a86296062e6c57693dff183d4e513c55a94940 diff --git a/plugins/listcommands/mailout.php b/plugins/listcommands/mailout.php index 9040fef..56b8416 100644 --- a/plugins/listcommands/mailout.php +++ b/plugins/listcommands/mailout.php @@ -19,11 +19,11 @@ include_once(SM_PATH . 'functions/html.php'); displayPageHeader($color, $mailbox); /* get globals */ -$mailbox = $_GET['mailbox']; -$send_to = $_GET['send_to']; -$subject = $_GET['subject']; -$body = $_GET['body']; -$action = $_GET['action']; +sqgetGlobalVar('mailbox', $mailbox, SQ_GET); +sqgetGlobalVar('send_to', $send_to, SQ_GET); +sqgetGlobalVar('subject', $subject, SQ_GET); +sqgetGlobalVar('body', $body, SQ_GET); +sqgetGlobalVar('action', $action, SQ_GET); echo html_tag('p', '', 'left' ) . html_tag( 'table', '', 'center', $color[0], 'border="0" width="75%"' ) . "\n" .