mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 08:23:12 +01:00
fix for HEAD, find_image does no longer lock in the api for not found images
This commit is contained in:
parent
1e678173e0
commit
c7c3ba3e66
@ -113,11 +113,9 @@ class html
|
||||
{
|
||||
if ($image != '')
|
||||
{
|
||||
if (strstr($image,'.') === False)
|
||||
{
|
||||
$image .= '.gif';
|
||||
}
|
||||
if (!($path = $GLOBALS['phpgw']->common->image($app,$image)))
|
||||
if (strpos($image,'.')) $image = substr($image,0,strpos($image,'.'));
|
||||
if (!($path = $GLOBALS['phpgw']->common->image($app,$image)) &&
|
||||
!($path = $GLOBALS['phpgw']->common->image('phpgwapi',$image)))
|
||||
{
|
||||
$path = $image; // name may already contain absolut path
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user