Skip to content

Commit

Permalink
Assign the installer to the cmd parameter for ZC 1.5.7 on
Browse files Browse the repository at this point in the history
  • Loading branch information
mc12345678 committed Mar 23, 2021
1 parent 52c342b commit ee541d7
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion admin/stock_by_attr_install.php
Expand Up @@ -2665,7 +2665,17 @@ function displayOptionalSQL(){
<a title="Shortcut to the Stock By Attributtes Catalog" href="' . zen_href_link(FILENAME_PRODUCTS_WITH_ATTRIBUTES_STOCK, '', 'NONSSL') . '">SBA Catalog Link</a>
<br class="clearBoth" /><hr />
' . zen_draw_form("SBAinstall", FILENAME_PRODUCTS_WITH_ATTRIBUTES_STOCK_SETUP, "id=\"SBAinstall\"", "get") . '
';
if (isset($_GET['cmd'])) {
$tempcmd = $_GET['cmd'];
}
$_GET['cmd'] = FILENAME_PRODUCTS_WITH_ATTRIBUTES_STOCK_SETUP;
echo zen_draw_form('SBAinstall', FILENAME_PRODUCTS_WITH_ATTRIBUTES_STOCK_SETUP, '', 'get', 'id="SBAinstall"');
unset($_GET['cmd']);
if (isset($tempcmd)) {
$_GET['cmd'] = $tempcmd;
}
echo '
Select:
Expand Down

0 comments on commit ee541d7

Please sign in to comment.