Skip to content

Commit

Permalink
fixed #1131
Browse files Browse the repository at this point in the history
  • Loading branch information
Al Brookbanks committed Jun 15, 2016
1 parent 7b8f5b7 commit 25e4cc5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions admin/sources/products.index.inc.php
Expand Up @@ -1201,6 +1201,12 @@ function option_matrix($unique_groups) {
$GLOBALS['smarty']->assign('DISPLAY_MATRIX_STOCK_NOTE', true);
}
}
// Check digital download path exists
if(!empty($result[0]['digital_path'])) {
if(!file_exists($result[0]['digital_path'])) {
$GLOBALS['main']->setACPWarning($GLOBALS['language']->filemanager['error_dl_3']." ".$result[0]['digital_path']);
}
}
$GLOBALS['smarty']->assign('PRODUCT', $result[0]);

if (isset($select_options)) {
Expand Down

0 comments on commit 25e4cc5

Please sign in to comment.