PDA

View Full Version : Contribution Tracker



michael_s
02-28-2007, 10:10 AM
Small typo corrected that prevented version number being entered into database when inserting a contrib name.

line 84 in admin/contrib_tracker.php
From:
tep_db_query("insert into " . TABLE_CONTRIB_TRACKER . " (contr_id, contrib_name, contrib_link, config_comments, note_created, status, last_update, contrib_vers) values ('','" . $HTTP_POST_VARS['contrib_name_new'] . "','" . $HTTP_POST_VARS['contrib_link_new'] . "','" . $HTTP_POST_VARS['config_comments'] . "', '" . $atstamp . "', '1', '" . $utstamp . "', '" . $HTTP_POST_VARS['config_vers'] . "' )");


To:
tep_db_query("insert into " . TABLE_CONTRIB_TRACKER . " (contr_id, contrib_name, contrib_link, config_comments, note_created, status, last_update, contrib_vers) values ('','" . $HTTP_POST_VARS['contrib_name_new'] . "','" . $HTTP_POST_VARS['contrib_link_new'] . "','" . $HTTP_POST_VARS['config_comments'] . "', '" . $atstamp . "', '1', '" . $utstamp . "', '" . $HTTP_POST_VARS['contrib_vers'] . "' )");


More... (http://www.oscommerce.com/community/contributions,4815)