mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
Fix issue 1662 digikam login
This commit is contained in:
committed by
Pierrick Le Gall
parent
735b670599
commit
fedd6c4b42
@@ -142,8 +142,7 @@ class PwgRestEncoder extends PwgResponseEncoder
|
||||
{
|
||||
function encodeResponse($response)
|
||||
{
|
||||
$respClass = strtolower( @get_class($response) );
|
||||
if ($respClass=='pwgerror')
|
||||
if ($response instanceof PwgError)
|
||||
{
|
||||
$ret = '<?xml version="1.0"?>
|
||||
<rsp stat="fail">
|
||||
|
||||
Reference in New Issue
Block a user