зеркало из https://github.com/nextcloud/cookbook.git
Make app compatible with NC code checker
Signed-off-by: Christian Wolf <github@christianwolf.email>
This commit is contained in:
Родитель
c538274189
Коммит
d725a091a1
|
@ -1077,7 +1077,7 @@ class RecipeService {
|
|||
$image_file = null;
|
||||
$image_filename = $size . '.jpg';
|
||||
|
||||
if (($size == 'thumb16' || $size == 'thumb') && !$recipe_folder->nodeExists($image_filename)) {
|
||||
if (($size === 'thumb16' || $size === 'thumb') && !$recipe_folder->nodeExists($image_filename)) {
|
||||
if ($recipe_folder->nodeExists('full.jpg')) {
|
||||
// Write the thumbnail
|
||||
$recipe_full_image_file = $recipe_folder->get('full.jpg');
|
||||
|
|
Загрузка…
Ссылка в новой задаче