Skip to content

Commit

Permalink
Fix save changes on my extension
Browse files Browse the repository at this point in the history
  • Loading branch information
asternic committed Oct 5, 2023
1 parent fe7f400 commit a2ea37b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion modules/myex_config/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,12 @@ function _moduleContent(&$smarty, $module_name)

//actions
$action = isset($_REQUEST['action'])?$_REQUEST['action']:'';
if($action=='') {
if(isset($_REQUEST['save_new'])) {
$action='save_new';
}
}
$content = "";

switch($action){
case "qrcode":
$sPeticionSQL="select data from sip where keyword='secret' and id=?";
Expand Down

0 comments on commit a2ea37b

Please sign in to comment.