Fixed small issues with projectData not being able to save uploaded image url to db
Signed-off-by: rodude123 <rodude123@gmail.com>
This commit is contained in:
Vendored
+1
-1
@@ -173,7 +173,7 @@ class projectData
|
||||
// update the database with the new image location
|
||||
$conn = dbConn();
|
||||
$stmt = $conn->prepare("UPDATE projects SET imgLocation = :imgLocation WHERE ID = :ID");
|
||||
$stmt->bindParam(":imgLocation", $targetFile);
|
||||
$stmt->bindParam(":imgLocation", $targetFile["imgLocation"]);
|
||||
$stmt->bindParam(":ID", $ID);
|
||||
$stmt->execute();
|
||||
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user