~ubuntu-drupal-devs/ubuntu-drupal-sidebar/6.x

« back to all changes in this revision

Viewing changes to udsidebar_settings.inc

  • Committer: Michael Lustfield
  • Date: 2011-05-22 04:34:43 UTC
  • Revision ID: mtecknology@ubuntu.com-20110522043443-dp7lv7ugjv7lpa80
Minor code syntax fix.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
  $bid = intval(arg(3)); // @deprecated arg()
14
14
  if ($bid > 0) {
15
15
    $edit = db_fetch_array(db_query('SELECT * FROM {udsidebar} WHERE bid = %d', $bid));
16
 
    $output .= drupal_get_form('udsidebar_linkform', $edit, TRUE);
 
16
    $output = drupal_get_form('udsidebar_linkform', $edit, TRUE);
17
17
  }
18
18
  else {
19
 
    $output .= drupal_get_form('udsidebar_linkform', $edit, FALSE);
 
19
    $output = drupal_get_form('udsidebar_linkform', NULL, FALSE);
20
20
    $output .= t('<h2>Sidebar Maps</h2>');
21
21
    $output .= udsidebar_view_list();
22
22
  }