sforkowany z mirror/friendica
Fix wrong variable name in Model\Attach
- Prevented attachment data from being retrieved from storage2022.09-rc
rodzic
95da30f395
commit
6fd13300cb
|
@ -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']]);
|
||||
|
|
Ładowanie…
Reference in New Issue