Skip to content

Commit

Permalink
Merge branch '5' into 6
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jun 30, 2024
2 parents a684c8c + 57fb06a commit a4149d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions sake
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ fi

# Find the PHP binary
for candidatephp in php php5; do
if [ `which $candidatephp 2>/dev/null` -a -f `which $candidatephp 2>/dev/null` ]; then
if [ "`which $candidatephp 2>/dev/null`" -a -f "`which $candidatephp 2>/dev/null`" ]; then
php=`which $candidatephp 2>/dev/null`
break
fi
Expand Down Expand Up @@ -116,4 +116,4 @@ fi
################################################################################################
## Basic execution

$php $framework/cli-script.php ${*}
"$php" "$framework/cli-script.php" "${@}"
1 change: 0 additions & 1 deletion src/Forms/SearchableDropdownTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,6 @@ public function saveInto(DataObjectInterface $record): void
$record->$classNameField = $ids ? $record->ClassName : '';
}
}
$record->write();
} else {
// has_many / many_many field
if (!method_exists($record, 'hasMethod')) {
Expand Down

0 comments on commit a4149d1

Please sign in to comment.