Skip to content

Commit

Permalink
Fix Filesystem->mkdir return value
Browse files Browse the repository at this point in the history
  • Loading branch information
mbontemps committed Mar 27, 2011
1 parent 5ebfb30 commit a294024
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Component/HttpKernel/Util/Filesystem.php
Expand Up @@ -55,7 +55,7 @@ public function copy($originFile, $targetFile, $override = false)
*/
public function mkdir($dirs, $mode = 0777)
{
$ret = false;
$ret = true;
foreach ($this->toIterator($dirs) as $dir) {
if (is_dir($dir)) {
continue;
Expand Down

0 comments on commit a294024

Please sign in to comment.