Skip to content

Commit 6dc35c6

Browse files
Update administrator/components/com_modules/src/Model/ModuleModel.php
Co-authored-by: Richard Fath <[email protected]>
1 parent 6a3e71e commit 6dc35c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

administrator/components/com_modules/src/Model/ModuleModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1260,7 +1260,7 @@ protected function getStageForNewItem(Form $form, $data)
12601260
->select($db->quoteName('id'))
12611261
->from($db->quoteName('#__workflows'))
12621262
->where($db->quoteName('default') . ' = 1')
1263-
->where($db->quoteName('extension') . ' = "com_modules.module"');
1263+
->where($db->quoteName('extension') . ' = ' . $db->quote('com_modules.module');
12641264

12651265
$query->where($db->quoteName('workflow_id') . ' IN (' . $defaultWorkflowQuery . ')');
12661266
}

0 commit comments

Comments
 (0)