Author: doogie Date: Sat May 12 21:22:20 2012 New Revision: 1337687 URL: http://svn.apache.org/viewvc?rev=1337687&view=rev Log: DEPRECATION: themes/tomahawk: findByPrimaryKey variants replaced with findOne
Modified: ofbiz/trunk/themes/tomahawk/includes/appbarClose.ftl Modified: ofbiz/trunk/themes/tomahawk/includes/appbarClose.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/tomahawk/includes/appbarClose.ftl?rev=1337687&r1=1337686&r2=1337687&view=diff ============================================================================== --- ofbiz/trunk/themes/tomahawk/includes/appbarClose.ftl (original) +++ ofbiz/trunk/themes/tomahawk/includes/appbarClose.ftl Sat May 12 21:22:20 2012 @@ -42,7 +42,7 @@ under the License. <#if parameters.portalPageId?has_content && !appModelMenu.getModelMenuItemByName(headerItem)?exists && userLogin?exists> <#assign findMap = Static["org.ofbiz.base.util.UtilMisc"].toMap("portalPageId", parameters.portalPageId)> - <#assign portalPage = delegator.findByPrimaryKeyCache("PortalPage", findMap)> + <#assign portalPage = delegator.findOne("PortalPage", findMap, true)> <#if portalPage?has_content> <div id="app-nav-selected-item"> ${portalPage.get("portalPageName", locale)?if_exists}