From 0e4ed2887cb413db0e3eecdb0595a09dc3b01a0f Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Fri, 19 Oct 2012 13:20:08 +0200 Subject: [PATCH] Return result from OC_DB::insertIfNotExist(). --- lib/db.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/db.php b/lib/db.php index 6ad65201e1..f32e8549ce 100644 --- a/lib/db.php +++ b/lib/db.php @@ -587,7 +587,7 @@ class OC_DB { } $result = new PDOStatementWrapper($result); - $result->execute(); + return $result->execute(); } /**