mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +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 ($image != '')
|
||||||
{
|
{
|
||||||
if (strstr($image,'.') === False)
|
if (strpos($image,'.')) $image = substr($image,0,strpos($image,'.'));
|
||||||
{
|
if (!($path = $GLOBALS['phpgw']->common->image($app,$image)) &&
|
||||||
$image .= '.gif';
|
!($path = $GLOBALS['phpgw']->common->image('phpgwapi',$image)))
|
||||||
}
|
|
||||||
if (!($path = $GLOBALS['phpgw']->common->image($app,$image)))
|
|
||||||
{
|
{
|
||||||
$path = $image; // name may already contain absolut path
|
$path = $image; // name may already contain absolut path
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user