We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Direction when using parser to render view, the parser can't differentiate between {expired_discount} with {expired_discount_date}
Describe the bug Code example Controller:
<?php namespace App\Controllers; class Test extends BaseController { public function index() { $data = [ 'expired_discount' => '1212312423470', 'expired_discount_date' => '1999-09-09', ]; echo $this->parser->setData($data)->render('test'); } }
View:
<p>Expired Discount Serial = {expired_discount}</p> <p>Expired Discount Date = {expired_discount_date}</p>
Result:
Expired Discount Serial = 1212312423470 Expired Discount Date = 1212312423470
expired_discount_date will have the same value as expired_discount
CodeIgniter 4 version branch: develop
Expected behavior, and steps to reproduce if appropriate value of expired_discount should not be the same with expired_discount_date
Context
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Direction
when using parser to render view, the parser can't differentiate between {expired_discount} with {expired_discount_date}
Describe the bug
Code example
Controller:
View:
Result:
expired_discount_date will have the same value as expired_discount
CodeIgniter 4 version
branch: develop
Expected behavior, and steps to reproduce if appropriate
value of expired_discount should not be the same with expired_discount_date
Context
The text was updated successfully, but these errors were encountered: