Skip to content
This repository has been archived by the owner on Sep 4, 2022. It is now read-only.

Commit

Permalink
Update ModelGenerator.php
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkSide666 committed Mar 1, 2013
1 parent b9f7c73 commit 8e6f562
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mvc/Page/ModelGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function resolveFieldType($type){
function resolveFieldName($field){
return $field->name();
}
function findModels($dir, &$models, $prefix = null){
function findModels($dir=null, &$models=null, $prefix = null){
$r = $this->api->db->getAll("show tables");
$tables = array();
foreach ($r as $row){
Expand Down

1 comment on commit 8e6f562

@DarkSide666
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.