mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
fix stalled update if jpegphoto is empty string (and not null)
This commit is contained in:
parent
a36cc7b261
commit
e4f51b5692
@ -256,7 +256,7 @@ function api_upgrade16_9_002()
|
|||||||
$n = 0;
|
$n = 0;
|
||||||
foreach($GLOBALS['egw_setup']->db->query("SELECT contact_id,contact_jpegphoto,contact_pubkey
|
foreach($GLOBALS['egw_setup']->db->query("SELECT contact_id,contact_jpegphoto,contact_pubkey
|
||||||
FROM egw_addressbook
|
FROM egw_addressbook
|
||||||
WHERE contact_jpegphoto IS NOT NULL OR contact_pubkey IS NOT NULL AND contact_pubkey LIKE '%-----%'",
|
WHERE contact_jpegphoto != '' OR contact_pubkey IS NOT NULL AND contact_pubkey LIKE '%-----%'",
|
||||||
__LINE__, __FILE__, 0, $junk_size, false, Api\Db::FETCH_ASSOC) as $row)
|
__LINE__, __FILE__, 0, $junk_size, false, Api\Db::FETCH_ASSOC) as $row)
|
||||||
{
|
{
|
||||||
$files = 0;
|
$files = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user