Permalink
Browse files

[Generator][Manager] Fixed ModelManager if file exists (again)

  • Loading branch information...
1 parent 17cdf1b commit 3bba5baa03a3abd08578c0c6a4ea944ff92a29f6 @willdurand willdurand committed Dec 21, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Propel/Generator/Manager/ModelManager.php
@@ -156,7 +156,7 @@ protected function doBuild(AbstractOMBuilder $builder, $overwrite = true)
}
// skip unchanged files
- if ($file->isFile() && $script == file_get_contents($file->getPathname)) {
+ if ($file->isFile() && $script == file_get_contents($file->getPathname())) {
$this->log("\t-> (unchanged) " . $builder->getClassFilePath());
return 0;

0 comments on commit 3bba5ba

Please sign in to comment.