mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Merged pull request #62 from evilbloodydemon/unused-vars.
Fixed typo in variable name
This commit is contained in:
commit
c4c35f2539
2 changed files with 2 additions and 2 deletions
|
@ -286,7 +286,7 @@
|
|||
|
||||
/**
|
||||
* Pick the caching engine to use. If APC is enabled use it.
|
||||
* If running via cli - apc is disabled by default. ensure it's avaiable and enabled in this case
|
||||
* If running via cli - apc is disabled by default. ensure it's available and enabled in this case
|
||||
*
|
||||
*/
|
||||
$engine = 'File';
|
||||
|
|
|
@ -1809,7 +1809,7 @@ class FormHelper extends AppHelper {
|
|||
$attributes['value'] = $meridian;
|
||||
} else {
|
||||
if (empty($value)) {
|
||||
if (!$attribues['empty']) {
|
||||
if (!$attributes['empty']) {
|
||||
$attributes['value'] = date('a');
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue