From 883e81fd0a3ba1f88aa52fe064aa36baaae66067 Mon Sep 17 00:00:00 2001 From: chschy Date: Thu, 12 Jul 2012 08:33:21 +0000 Subject: [PATCH] issue 2129 could not find a site domain when access short url because of case-sensitive git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.1@10874 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/module/module.model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/module/module.model.php b/modules/module/module.model.php index 2620dee8d..0b91b4ee0 100644 --- a/modules/module/module.model.php +++ b/modules/module/module.model.php @@ -101,7 +101,7 @@ } if($output->toBool() && $output->data && $vid) { Context::set('vid', $output->data->domain, true); - if($mid==$output->data->domain) Context::set('mid',$output->data->mid,true); + if(strtolower($mid)==strtolower($output->data->domain)) Context::set('mid',$output->data->mid,true); } if(!$output || !$output->data) { $domain = ''; unset($output); } }