Browse Source

Fixed typo in variable name

evilbloodydemon 15 years ago
parent
commit
1d7d20768f
2 changed files with 2 additions and 2 deletions
  1. 1 1
      app/config/core.php
  2. 1 1
      lib/Cake/View/Helper/FormHelper.php

+ 1 - 1
app/config/core.php

@@ -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';

+ 1 - 1
lib/Cake/View/Helper/FormHelper.php

@@ -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 {