From d023eb369a54cd769534d1e32190368b871667f6 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 14 Oct 2011 13:38:18 +0800 Subject: [PATCH] Generator.php --- Generator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Generator.php b/Generator.php index f284831f..36e9fa82 100644 --- a/Generator.php +++ b/Generator.php @@ -359,7 +359,7 @@ touch Pman/????/DataObjects/".ucfirst($this->table).".php $this->classname = 'Pman_'.$mod . '_DataObjects_'. preg_replace('/[^A-Z0-9]+/i','_',ucfirst(trim($this->table)));; // replace odd chars? - $outfilename = $rd.'/'.$mod.'/'. ucfirst($this->table).'.php'; + $outfilename = $rd.'/'.$mod.'/'. preg_replace('/[^A-Z0-9]+/i','_',ucfirst(trim($this->table)));'.php'; $orig = $ff->page->rootDir .'/Pman/'.$mod.'/DataObjects/'. preg_replace('/[^A-Z0-9]+/i','_',ucfirst(trim($this->table)));.'.php'; -- 2.39.2