We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 428cf2f commit b661922Copy full SHA for b661922
app/code/core/Mage/Persistent/Model/Persistent/Config.php
@@ -120,9 +120,9 @@ public function fireOne($info, $instance = false)
120
$object->$method($instance);
121
} elseif (Mage::getIsDeveloperMode()) {
122
if (!$object instanceof Mage_Core_Model_Abstract) {
123
- Mage::throwException('Model "' . $info['class'] . '" is not defined"');
+ Mage::throwException(sprintf('Model "%s" is not defined"', $info['class']));
124
} else {
125
- Mage::throwException('Method "' . $method . '" is not defined in "' . $object::class . '"');
+ Mage::throwException(sprintf('Method "%s" is not defined in "%s"', $method, $object::class));
126
}
127
128
0 commit comments