fixed check site_srl

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9363 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
devjin 2011-09-27 08:31:36 +00:00
parent a418b17f5d
commit c1964e502b

View file

@ -372,6 +372,7 @@
**/
function getGroups($site_srl = 0) {
if(!$GLOBALS['__group_info__'][$site_srl]) {
if(!isset($site_srl)) $site_srl = 0;
$args->site_srl = $site_srl;
$args->sort_index = 'list_order';
$args->order_type = 'asc';