code cleanup

This commit is contained in:
Nathan Coad
2019-09-10 19:08:26 +10:00
parent e8df551c94
commit a3472d6fb4
7 changed files with 20 additions and 23 deletions

View File

@@ -8,8 +8,8 @@
function booking_price_admin()
{
//see http://www.jaypan.com/blog/themeing-drupal-7-forms-tables-checkboxes-or-radios
$form = array ();
$options = array ();
$form = array();
$options = array();
$prefix = t("<p>!link</p>",
array ('!link' => l('Add New Price Entry', 'admin/config/booking/prices/create')));
@@ -128,7 +128,7 @@ function booking_price_admin_submit($form, &$form_state) {
function booking_price_form($node, &$form_state, $create, $editid = 0)
{
$form = array ();
$form = array();
$prefix = "<p>Add a new payment option</p>";
if ($create == true)