Skip to content
Snippets Groups Projects
Commit 35e1f7ef authored by Reinhold Kainhofer's avatar Reinhold Kainhofer
Browse files

Don't print error message for unknown variables, because the invoice numbers...

Don't print error message for unknown variables, because the invoice numbers don't have the customer info available
parent 47f03c44
No related branches found
No related tags found
No related merge requests found
......@@ -206,9 +206,9 @@ class OpenTools_Ordernumber_Helper_Data extends Mage_Core_Helper_Abstract
// TODO: Handle store property
$found = true;
} else {
// TODO: Handly other possible properties!
// TODO: Handle other possible properties!
// TODO: Print out warning that variable could not be found.
Mage::getSingleton('core/session')->addWarning($this->__('Unable to find variable "%s" used in the ordernumber custom variable definitions.', $conditionvar));
// Mage::getSingleton('core/session')->addWarning($this->__('Unable to find variable "%s" used in the ordernumber custom variable definitions.', $conditionvar));
}
if ($found) {
if (is_array($compareval)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment