Thanks for the first dev version for D6.

I've noticed 2 typo erros in sql query at line no 260 and 263

the word cancelled has been typed as canceled.

In the db the column is cancelled.

invite.admin.inc 260 and 263

   if ($_GET['sort'] == 'asc') {
      $status_sort = "IF(i.joined != 0, 0, 1) $sort, IF(i.expiry < $now, 0, 1) $sort, i.canceled";
    }
    else {
      $status_sort = "i.canceled $sort, IF(i.expiry < $now, 0, 1) $sort, IF(i.joined != 0, 0, 1)";
    }

Comments

sangamreddi’s picture

same at line no 345, 348, 350.

IMO the db column name has to be changed 'canceled' instead of 'cancelled'..

Thanks.

Sunny
www.gleez.com

sangamreddi’s picture

It has to be fixed here in invite.install.

line no 311.

function invite_update_200() {

  db_add_field($ret, 'invite', 'cancelled', array('type' => 'int', 'size' => 'tiny', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0));

}

This particular issue raises when you update invite module from earlier version to this.

Thanks

smk-ka’s picture

Fixed, thanks again!

smk-ka’s picture

Status: Active » Fixed
sangamreddi’s picture

Status: Fixed » Closed (fixed)

thanks