}
// check if ssl is set
- if (CRM_Utils_Array::value('is_ssl', $item)) {
+ if (!empty($item['is_ssl'])) {
CRM_Utils_System::redirectToSSL();
}
}
$pageArgs = NULL;
- if (CRM_Utils_Array::value('page_arguments', $item)) {
+ if (!empty($item['page_arguments'])) {
$pageArgs = CRM_Core_Menu::getArrayForPathArgs($item['page_arguments']);
}
$title = CRM_Utils_Array::value('title', $item);
if (strstr($item['page_callback'], '_Page')) {
$object = new $item['page_callback'] ($title, $mode );
- $object->urlPath = $_GET[$config->userFrameworkURLVar];
+ $object->urlPath = explode('/', $_GET[$config->userFrameworkURLVar]);
}
elseif (strstr($item['page_callback'], '_Controller')) {
$addSequence = 'false';
) {
CRM_Core_DAO::triggerRebuild();
}
-
+ CRM_Core_DAO_AllCoreTables::reinitializeCache(TRUE);
CRM_Core_ManagedEntities::singleton(TRUE)->reconcile();
}
}