git-svn-id: http://xe-core.googlecode.com/svn/trunk@995 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-04-06 04:38:12 +00:00
parent 726efffe6f
commit 6f0e2d5df9
9 changed files with 388 additions and 31 deletions

View file

@ -47,10 +47,12 @@
foreach($tmp_args as $key => $val) {
if(!$val->checkcount) $val->checkcount = 1;
if($val->title && count($val->item)) $args[] = $val;
if($val->title && count($val->item)) $args->poll[] = $val;
}
if(!count($args)) return new Object(-1, 'cmd_null_item');
if(!count($args->poll)) return new Object(-1, 'cmd_null_item');
$args->stop_date = $stop_date;
// poll module을 이용해서 DB 에 입력
$oPollController = &getController('poll');