Index: trunk/extensions/Validator/includes/Validator.php |
— | — | @@ -242,7 +242,7 @@ |
243 | 243 | |
244 | 244 | while ( $paramName = array_shift( $this->paramsTohandle ) ) { |
245 | 245 | $parameter = $this->parameters[$paramName]; |
246 | | - |
| 246 | + |
247 | 247 | $setUservalue = $this->attemptToSetUserValue( $parameter ); |
248 | 248 | |
249 | 249 | // If the parameter is required but not provided, register a fatal error and stop processing. |
— | — | @@ -312,12 +312,14 @@ |
313 | 313 | } |
314 | 314 | } |
315 | 315 | |
316 | | - $dependencyList[$paramName] = array(); |
| 316 | + $dependencyList[$paramName] = $dependencies; |
317 | 317 | } |
318 | | - |
| 318 | +//static $foobar = 0; |
| 319 | +//$foobar++; |
319 | 320 | $sorter = new TopologicalSort( $dependencyList, true ); |
320 | | - |
| 321 | + //if ($foobar>16){var_dump($this->paramsTohandle);} |
321 | 322 | $this->paramsTohandle = $sorter->doSort(); |
| 323 | + //if ($foobar>16){var_dump($this->paramsTohandle);exit;} |
322 | 324 | } |
323 | 325 | |
324 | 326 | /** |