mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-12-17 22:28:15 +01:00
Merge branch 'v3.0' of git@github-home:webbukkit/dynmap.git into v3.0
This commit is contained in:
commit
7570cf5994
@ -75,7 +75,7 @@ function updateStandaloneFileByServerId($fname, $sid, $content)
|
||||
|
||||
initDbIfNeeded();
|
||||
$stmt = $db->prepare('UPDATE ' . $dbprefix . 'StandaloneFiles SET Content=:content WHERE FileName=:fname AND ServerID=:sid');
|
||||
$stmt->bindParam(':content', $content, PDO::PARAM_STR);
|
||||
$stmt->bindParam(':content', $content, PDO::PARAM_LOB);
|
||||
$stmt->bindParam(':fname', $fname, PDO::PARAM_STR);
|
||||
$stmt->bindParam(':sid', $sid, PDO::PARAM_INT);
|
||||
$res = $stmt->execute();
|
||||
|
Loading…
Reference in New Issue
Block a user