Skip to content

Commit bc529d3

Browse files
committed
fix thumbtitle
1 parent 8f44737 commit bc529d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Alchemy/Phrasea/Controller/Prod/StoryController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function displayCreateFormAction(Request $request)
3535
$storyTitleMetaStructIds = [];
3636
foreach ($this->getApplicationBox()->get_databoxes() as $db) {
3737
foreach ($db->get_meta_structure() as $metaStruct) {
38-
if ($metaStruct->get_thumbtitle() == "1" &&
38+
if ($metaStruct->get_thumbtitle() != "0" &&
3939
!$metaStruct->is_readonly() &&
4040
$metaStruct->get_gui_editable() &&
4141
$metaStruct->get_type() == \databox_field::TYPE_STRING

0 commit comments

Comments
 (0)