Skip to content

Commit

Permalink
typo in edit.php fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
codecivil committed Aug 28, 2024
1 parent 9154f2d commit 63ab9eb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion nightly/core/classes/edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ public function edit(string $_default, bool $_single = true) {
?>
<div id="db_<?php echo($key.$rnd); ?>_conditions" hidden><?php html_echo(json_encode($conditions)); ?></div>
<?php
if ( isset($default_array[$indexedit]) AND isset($default_array[$indexedit][$indexdefault]) ) {
if ( isset($_default_array[$indexedit]) AND isset($_default_array[$indexedit][$indexdefault]) ) {
$default = $_default_array[$indexedit][$indexdefault];
} else {
$default = null;
Expand Down
1 change: 0 additions & 1 deletion nightly/core/functions/db_functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,6 @@ function getDetails($PARAMETER,$conn)
} else {
$_array = $PARAMETER;
}

if ( ! is_array($_array) ) { return; }
//distinguish mass and single edit
if ( isset($_array['massEdit']) ) {
Expand Down

0 comments on commit 63ab9eb

Please sign in to comment.