mirror of
https://github.com/tim-krehan/shopping-list.git
synced 2024-11-27 23:40:03 +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){
|
function getID($Name){
|
||||||
include $_SESSION["docroot"].'/php/connect.php';
|
include $_SESSION["docroot"].'/php/connect.php';
|
||||||
$selectQuery = $mysqli->prepare("SELECT `ID` FROM `Einheit` WHERE `Name` = ?;");
|
$selectQuery = $mysqli->prepare("SELECT `ID` FROM `Einheit` WHERE `Name` = ?;");
|
||||||
$selectQuery->bind_param("s", "$Name");
|
$selectQuery->bind_param("s", $Name);
|
||||||
$selectQuery->execute();
|
$selectQuery->execute();
|
||||||
$result = $selectQuery->get_result();
|
$result = $selectQuery->get_result();
|
||||||
$ID = $result->fetch_assoc();
|
$ID = $result->fetch_assoc();
|
||||||
|
|
Loading…
Reference in a new issue