Fixes payment transactions addition
authorAnne Limoges <anne.limoges_git@polytechnique.org>
Sat, 2 Mar 2013 09:16:30 +0000 (10:16 +0100)
committerAnne Limoges <anne.limoges_git@polytechnique.org>
Sat, 2 Mar 2013 09:19:12 +0000 (10:19 +0100)
core
modules/payment.php

diff --git a/core b/core
index 1256fe0..a315ff7 160000 (submodule)
--- a/core
+++ b/core
@@ -1 +1 @@
-Subproject commit 1256fe0522a97b7a8ed8a1e12a22378cb6503fbc
+Subproject commit a315ff7281b69e71aca8670df8c8b6063dddee9d
index a74cd68..1703917 100644 (file)
@@ -615,10 +615,10 @@ class PaymentModule extends PLModule
         $table_editor->add_sort_field('id', true);
         $table_editor->describe('ts_initiated', 'ts_initiated', true, false);
         $table_editor->describe('commission', 'commission', true, false);
-        $table_editor->describe('pkey', 'pkey', true, false);
-        $table_editor->describe('comment', 'comment', true, false);
+        $table_editor->describe('pkey', 'pkey', true, true);
+        $table_editor->describe('comment', 'comment', true, true);
         $table_editor->describe('recon_id', 'recon_id', true, false);
-        $table_editor->describe('display', 'display', true, false);
+        $table_editor->describe('display', 'display', true, true);
         $table_editor->apply($page, $action, $id);
         $page->assign('addonly', 'addonly');     // don't show modification features, only add feature
     }