Skip to content

Commit

Permalink
4.0.31b: Correct manufactureres misspelling
Browse files Browse the repository at this point in the history
Export file was not including the manufacturers_name in the export file.  This was a result of an incorrect spelling applied in this version when modifying the sql queries.
  • Loading branch information
mc12345678 committed Oct 16, 2015
1 parent 1b26fe2 commit 079c89a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin/easypopulate_4_export.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
// $Id: easypopulate_4_export.php, v4.0.31 08-01-2015 mc12345678 $
// $Id: easypopulate_4_export.php, v4.0.31b 10-16-2015 mc12345678 $

// get download type
$ep_dltype = (isset($_POST['export'])) ? $_POST['export'] : (isset($_POST['exportorder']) ? $_POST['exportorder'] : $ep_dltype);
Expand Down Expand Up @@ -730,7 +730,7 @@
if (isset($filelayout['v_manufacturers_name'])) {
if (($row['v_manufacturers_id'] != '0') && ($row['v_manufacturers_id'] != '')) { // '0' is correct, but '' NULL is possible
$sql2 = 'SELECT manufacturers_name FROM ' . TABLE_MANUFACTURERS . ' WHERE manufacturers_id = :manufacturers_id:';
$sql2 = $db->bindVars($sql2, ':manufacturers_id:', $row['v_manufactureres_id'], 'integer');
$sql2 = $db->bindVars($sql2, ':manufacturers_id:', $row['v_manufacturers_id'], 'integer');
$result2 = ep_4_query($sql2);
$row2 = ($ep_uses_mysqli ? mysqli_fetch_array($result2) : mysql_fetch_array($result2));
$row['v_manufacturers_name'] = $row2['manufacturers_name'];
Expand Down

0 comments on commit 079c89a

Please sign in to comment.