Skip to content
This repository
Browse code

Replace Set with Hash.

  • Loading branch information...
commit 528671f468c9d5d74c11f04fe02b54201ddab156 1 parent 555bfc3
Mark Story authored October 25, 2012

Showing 1 changed file with 2 additions and 3 deletions. Show diff stats Hide diff stats

  1. 5  lib/Cake/Network/CakeRequest.php
5  lib/Cake/Network/CakeRequest.php
@@ -15,8 +15,7 @@
15 15
  * @since         CakePHP(tm) v 2.0
16 16
  * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
17 17
  */
18  
-
19  
-App::uses('Set', 'Utility');
  18
+App::uses('Hash', 'Utility');
20 19
 
21 20
 /**
22 21
  * A class that helps wrap Request information and particulars about a single request.
@@ -353,7 +352,7 @@ protected function _processFileData($path, $data, $field) {
353 352
 				$this->_processFileData($newPath, $fields, $field);
354 353
 			} else {
355 354
 				$newPath .= '.' . $field;
356  
-				$this->data = Set::insert($this->data, $newPath, $fields);
  355
+				$this->data = Hash::insert($this->data, $newPath, $fields);
357 356
 			}
358 357
 		}
359 358
 	}

0 notes on commit 528671f

Please sign in to comment.
Something went wrong with that request. Please try again.