mirror of
https://github.com/friendica/friendica
synced 2024-11-10 05:02:58 +00:00
Fix wrong variable name in Model\Attach
- Prevented attachment data from being retrieved from storage
This commit is contained in:
parent
95da30f395
commit
6fd13300cb
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ class Attach
|
|||
*/
|
||||
public static function getData($item)
|
||||
{
|
||||
$backendClass = DI::storageManager()->getByName($photo['backend-class'] ?? '');
|
||||
$backendClass = DI::storageManager()->getByName($item['backend-class'] ?? '');
|
||||
if ($backendClass === null) {
|
||||
// legacy data storage in 'data' column
|
||||
$i = self::selectFirst(['data'], ['id' => $item['id']]);
|
||||
|
|
Loading…
Reference in a new issue