diff options
| author | 2020-03-08 00:08:20 +0100 | |
|---|---|---|
| committer | 2020-03-08 00:08:20 +0100 | |
| commit | 128b3367880fd18e4179123b4e533d14902b484c (patch) | |
| tree | 4b21c7f2d5ce20d6716617415afe38dc3440b23b /app/Models/Share.php | |
| parent | 25666ec5d3edbd614b01594399b03d107c8341ff (diff) | |
Fix share warning with Wallabag (#2817)
#fix https://github.com/FreshRSS/FreshRSS/issues/2812
Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
Diffstat (limited to 'app/Models/Share.php')
| -rw-r--r-- | app/Models/Share.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/Models/Share.php b/app/Models/Share.php index cf9966a4b..1fc3c493e 100644 --- a/app/Models/Share.php +++ b/app/Models/Share.php @@ -260,7 +260,9 @@ class FreshRSS_Share { } foreach ($transform as $action) { - $data = call_user_func($action, $data); + if (is_string($action) && $action != '') { + $data = call_user_func($action, $data); + } } return $data; |
