Skip to content

Commit

Permalink
Item12777: some minor dbi yadda
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk@17316 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
MichaelDaum authored and MichaelDaum committed Mar 13, 2014
1 parent 449b151 commit 5e93d7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/lib/Foswiki/PageCache/DBI.pm
Expand Up @@ -333,8 +333,8 @@ sub deleteDependencies {
else {

#writeDebug("DELETE dependencies of $webTopic");
$this->{dbh}
->do("delete from $this->{depsTable} where from_topic = '$webTopic'");
$this->{dbh}->do( "delete from $this->{depsTable} where from_topic = ?",
undef, $webTopic );
}
}

Expand Down

0 comments on commit 5e93d7e

Please sign in to comment.