reverted (unnecessary) fix of r41893, causing editing of account addressbook data to show up empty

This commit is contained in:
Ralf Becker 2013-03-14 11:01:46 +00:00
parent 308c4a2951
commit cbf7abc4fb

View File

@ -551,7 +551,7 @@ class addressbook_so
*/ */
function read($contact_id) function read($contact_id)
{ {
if (!is_array($contact_id) && is_numeric($contact_id) && substr($contact_id,0,8) == 'account:') if (!is_array($contact_id) && substr($contact_id,0,8) == 'account:')
{ {
$contact_id = array('account_id' => (int) substr($contact_id,8)); $contact_id = array('account_id' => (int) substr($contact_id,8));
} }