This has something to do with this query ( in modules/pages/sitemapxml/sitemapxml_manufacturers.php ).
Looking at db tables doesn't have a difference ( as I can see) between inserting with EP4 or in the admin in the date added.
I've change some dates added since with EP upload they add the same date and time, but no diference.
The first query $table_status = $db->Execute("SHOW TABLE STATUS LIKE '" . TABLE_MANUFACTURERS . "'");
returns
Code:
[fields] => Array
(
[Name] => manufacturers
[Engine] => MyISAM
[Version] => 10
[Row_format] => Dynamic
[Rows] => 59
But the next one :
PHP Code:
$manufacturers = $db->Execute("SELECT m.manufacturers_id, GREATEST(m.date_added, IFNULL(m.last_modified, '0001-01-01 00:00:00')) AS last_date, mi.languages_id" . $select . "
FROM " . TABLE_MANUFACTURERS . " m
LEFT JOIN " . TABLE_MANUFACTURERS_INFO . " mi ON (mi.manufacturers_id = m.manufacturers_id)
WHERE mi.languages_id IN (" . $sitemapXML->getLanguagesIDs() . ") " .
(SITEMAPXML_MANUFACTURERS_ORDERBY != '' ? "ORDER BY " . SITEMAPXML_MANUFACTURERS_ORDERBY : ''));
[resource] => mysqli_result Object
(
[current_field] => 0
[field_count] => 3
[lengths] => Array
(
[0] => 2
[1] => 26
[2] => 1
)
[num_rows] => 50
[type] => 0
)
............so , by this time you may have thought that I was posting a solution.... but no .... any idea why this happens ? :)
Bookmarks