mirror of
https://github.com/tim-krehan/shopping-list.git
synced 2024-11-23 22:30:41 +01:00
Merge branch 'develop' into 'master'
fixed recipe import issue See merge request bluekay/shopping-list!18
This commit is contained in:
commit
af6a6889a8
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@
|
|||
function getID($Name){
|
||||
include $_SESSION["docroot"].'/php/connect.php';
|
||||
$selectQuery = $mysqli->prepare("SELECT `ID` FROM `Einheit` WHERE `Name` = ?;");
|
||||
$selectQuery->bind_param("s", "$Name");
|
||||
$selectQuery->bind_param("s", $Name);
|
||||
$selectQuery->execute();
|
||||
$result = $selectQuery->get_result();
|
||||
$ID = $result->fetch_assoc();
|
||||
|
|
Loading…
Reference in a new issue