X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=RunGenerator.php;h=3a4516a69ed668e66d3fbc22d846fd9ec8a6b5e7;hp=7f3b65dce8f22876d859ae5405e5bcb0c7d3f195;hb=443623f47935eb52acd65a3ff0d84eab1fd5a98b;hpb=355aded3ed8c83b937a2e9284a19fd9604e1dfce diff --git a/RunGenerator.php b/RunGenerator.php index 7f3b65dc..3a4516a6 100644 --- a/RunGenerator.php +++ b/RunGenerator.php @@ -62,10 +62,10 @@ class Pman_Core_RunGenerator extends Pman return true; } - function get($args, $opts) + function get($args, $opts=array()) { //print_r($opts);exit; - if (empty($opts['n'])) { + if (empty($opts['noupdate'])) { HTML_FlexyFramework::run('Core/UpdateDatabase'); }