fixed warning introduced by strstr --> strpos conversation

This commit is contained in:
Ralf Becker 2006-12-07 19:17:25 +00:00
parent 1c1e2d49b1
commit ce2a7c918f

View File

@ -111,7 +111,7 @@ class html
{
if (!$this->wz_tooltip_included)
{
if (strpos('wz_tooltip',$GLOBALS['egw_info']['flags']['need_footer'])===false)
if (strpos($GLOBALS['egw_info']['flags']['need_footer'],'wz_tooltip')===false)
{
$GLOBALS['egw_info']['flags']['need_footer'] .= '<script language="JavaScript" type="text/javascript" src="'.$this->phpgwapi_js_url.'/wz_tooltip/wz_tooltip.js"></script>'."\n";
}