Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Pathologic authored Jan 25, 2018
1 parent cc1d569 commit 6cff1ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/modules/store/installer/instprocessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ function parseProperties($propertyString) {
echo "<h3>" . $_lang['snippets'] . ":</h3> ";
$selSnips = $_POST['snippet'];
foreach ($moduleSnippets as $k=>$moduleSnippet) {

if (!is_array($moduleSnippet) || !isset($moduleSnippet[5]) || !is_array($moduleSnippet[5])) continue;
$installSample = in_array('sample', $moduleSnippet[5]) && $installData == 1;
if($installSample || in_array($k, $selSnips)) {
$name = $modx->db->escape($moduleSnippet[0]);
Expand Down

0 comments on commit 6cff1ad

Please sign in to comment.