From: Aaron Schulz Date: Tue, 13 Jan 2009 15:42:10 +0000 (+0000) Subject: (bug 15391) catch DBQueryError too X-Git-Tag: 1.31.0-rc.0~43441 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=6a3ee211d21d0661890fee72518abcb68a96814f;p=lhc%2Fweb%2Fwiklou.git (bug 15391) catch DBQueryError too --- diff --git a/includes/ExternalStore.php b/includes/ExternalStore.php index d095aba01d..1e750bb5fa 100644 --- a/includes/ExternalStore.php +++ b/includes/ExternalStore.php @@ -92,6 +92,8 @@ class ExternalStore { $url = $store->store( $params, $data ); // Try to save the object } catch ( DBConnectionError $error ) { $url = false; + } catch( DBQueryError $error ) { + $url = false; } if ( $url ) { return $url; // Done!