Show Your Support
$db->query_write("UPDATE " . TABLE_PREFIX . "forum SET allowsig = 1");
$db->hide_errors(); $db->query("ALTER TABLE " . TABLE_PREFIX . "forum ADD allowsig SMALLINT( 3 ) UNSIGNED NOT NULL DEFAULT '1'"); $db->query = "ALTER TABLE `".TABLE_PREFIX."forum` ADD ( `allowsig` smallint(3) NOT NULL default '1')"; $db->show_errors();
this->validfields['allowsig'] = array(TYPE_STR, REQ_NO);
this->validfields['allowsig'] = array(TYPE_INT, REQ_NO);