r86572 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r86571‎ | r86572 | r86573 >
Date:23:27, 20 April 2011
Author:awjrichards
Status:deferred
Tags:
Comment:
Fixed form return for contribution audit settings by adding a placeholder form rather than attempting to return arbitrary text
Modified paths:
  • /civicrm/trunk/sites/all/modules/contribution_audit/contribution_audit.module (modified) (history)

Diff [purge]

Index: civicrm/trunk/sites/all/modules/contribution_audit/contribution_audit.module
@@ -32,7 +32,12 @@
3333 * Callback for menu path "admin/settings/wmf_owa".
3434 */
3535 function contribution_audit_settings() {
36 - return t( 'Contribution Audit settings.' );
 36+ $form[ 'contribution_audit_fieldset' ] = array(
 37+ '#type' => 'fieldset',
 38+ '#title' => t('Contribution audit settings'),
 39+ '#description' => t( 'A placeholder form for Contribution Audit settings.' ),
 40+ );
 41+ return system_settings_form( $form );
3742 }
3843
3944 function contribution_audit_allocate_unallocated_contribs( $start_date, $end_date ) {
@@ -79,4 +84,4 @@
8085 $trxns_missing_country_info = array();
8186 module_invoke_all( 'contribution_audit_find_missing_trxns', $trxns_missing_country_info );
8287 return $trxns_missing_country_info;
83 -}
\ No newline at end of file
 88+}

Status & tagging log