r109347 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r109346‎ | r109347 | r109348 >
Date:08:23, 18 January 2012
Author:raindrift
Status:ok
Tags:
Comment:
fixed a db bug, added a success message.
Modified paths:
  • /trunk/extensions/CongressLookup/SpecialCongressFail.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CongressLookup/SpecialCongressFail.php
@@ -28,12 +28,13 @@
2929 'cl_errors',
3030 array(
3131 'cle_zip' => $zip,
32 - 'cc_comment' => $wgRequest->getVal( 'comment' ),
 32+ 'cle_comment' => $wgRequest->getVal( 'comment' ),
3333 ),
3434 __METHOD__,
3535 array()
3636 );
3737
 38+ $out->addHtml('Thank you!');
3839
3940 } else {
4041 $out->addHtml('<div>');
@@ -44,7 +45,7 @@
4546
4647 $out->addHtml('<div>');
4748 $out->addHtml('<input type=hidden name=zip value=' . $zip. '>');
48 - $out->addHtml('Tell us what went wrong: <input type=text size=100 name=comment>');
 49+ $out->addHtml('Tell us what went wrong: <input type=text size=100 maxlength=255 name=comment>');
4950 $out->addHtml('</div>');
5051
5152 $out->addHtml('<div>');

Status & tagging log