Alexander Nicolaysen Sørnes <alex@thehandofagony.com>
Remove the vendor from keywords hack. There are no longer any entries with this data in the application queues.
This commit is contained in:
@@ -882,10 +882,8 @@ class Application {
|
||||
{
|
||||
$oUser = new user($this->iSubmitterId);
|
||||
$oVendor = new vendor($this->iVendorId);
|
||||
if(!$oVendor->sName)
|
||||
$sVendor = get_vendor_from_keywords($this->sKeywords);
|
||||
else
|
||||
$sVendor = $oVendor->objectMakeLink();
|
||||
|
||||
$sVendor = $oVendor->objectMakeLink();
|
||||
|
||||
$oTableRow = new TableRow();
|
||||
$oTableRow->AddTextCell(print_date(mysqldatetime_to_unixtimestamp($this->sSubmitTime)));
|
||||
@@ -1115,11 +1113,4 @@ class Application {
|
||||
}
|
||||
}
|
||||
|
||||
function get_vendor_from_keywords($sKeywords)
|
||||
{
|
||||
$aKeywords = explode(" *** ",$sKeywords);
|
||||
$iLastElt = (sizeOf($aKeywords)-1);
|
||||
return($aKeywords[$iLastElt]);
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user