Skip to content
Permalink
Browse files

3169: fixed overwriting a saved query

  • Loading branch information...
following
following committed Aug 26, 2012
1 parent 32a45a3 commit 12bf606cfcce71bca9fa055e139761f89baa0179
@@ -105,7 +105,7 @@ function savequery($queryid, $queryname, $saveas, $submit, $saveas_queryid)
// save as
$oOptions = sql_value("SELECT `options` FROM `queries` WHERE `id`='&1'", array(), $queryid);
sql("UPDATE `queries` SET `options`='&1' WHERE `id`='&3'", $oOptions, $saveas_queryid);
sql("UPDATE `queries` SET `options`='&1' WHERE `id`='&2'", $oOptions, $saveas_queryid);
$tpl->redirect('query.php?action=view');
}
@@ -50,6 +50,7 @@
<li class="changelogitem">nicht funktionierenden Log-Bild-Löschlink für Cachebesitzer entfernt</li>
<li class="changelogitem">Logbearbeitungsberechtigungen für gesperrte Caches korrigiert</li>
<li class="changelogitem">wirkungslose Spoileroption beim Hochladen von Logbildern entfernt</li>
<li class="changelogitem">Überschreiben einer gespeicherten Suche funktioniert jetzt</li>
</ul>
<br />

@@ -48,6 +48,7 @@
<li class="changelogitem">removed non-workink log entry deletion link for cache owners</li>
<li class="changelogitem">fixed log edit permissions for locked caches</li>
<li class="changelogitem">removed dummy spoiler option when uploading log pictures</li>
<li class="changelogitem">fixed overwriting a saved query</li>
</ul>
<br />

0 comments on commit 12bf606

Please sign in to comment.
You can’t perform that action at this time.