Commit dff9249c authored by Henning Leutz's avatar Henning Leutz 🥋

fix: use exec SQL for media update query

parent 30362529
......@@ -308,7 +308,7 @@ class Media extends QUI\QDOM
$DataBase->table()->setIndex($table, 'pathHash');
try {
$DataBase->fetchSQL('UPDATE '.$table.' SET pathHash = MD5(file)');
$DataBase->execSQL('UPDATE '.$table.' SET pathHash = MD5(file)');
} catch (\Exception $Exception) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment