Skip to content

Commit

Permalink
Fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
elidrissidev authored Jul 6, 2021
1 parent d50b221 commit 0c56d01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/core/Mage/Eav/Model/Entity/Increment/Numeric.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function getNextId()
if (empty($last)) {
$last = 0;
} else if (!empty($prefix = (string)$this->getPrefix()) && strpos($last, $prefix) === 0) {
$last = (int)substr($last, strlen($prefix);
$last = (int)substr($last, strlen($prefix));
} else {
$last = (int)$last;
}
Expand Down

0 comments on commit 0c56d01

Please sign in to comment.