Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2009-07-06 10:18:39 +0400
committervipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2009-07-06 10:18:39 +0400
commita6339fe31096691beacbcfadca90d7dd7bb24a26 (patch)
tree2a27d228b4131d30465324945afd23ed901cff24 /plugins/ExampleFeedburner
parenta1c38bdf28b486960907df6e611a9703cab4aca9 (diff)
fixes #845 - php 5.3 backward incompatibilities and deprecated functionality;
quick fixes #851 - unit tests; also fix redirect error in Installation when deleting existing tables
Diffstat (limited to 'plugins/ExampleFeedburner')
-rw-r--r--plugins/ExampleFeedburner/ExampleFeedburner.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ExampleFeedburner/ExampleFeedburner.php b/plugins/ExampleFeedburner/ExampleFeedburner.php
index d8cdb5f312..93fd6dffc4 100644
--- a/plugins/ExampleFeedburner/ExampleFeedburner.php
+++ b/plugins/ExampleFeedburner/ExampleFeedburner.php
@@ -29,7 +29,7 @@ class Piwik_ExampleFeedburner extends Piwik_Plugin
} catch(Zend_Db_Statement_Exception $e){
// mysql code error 1060: column already exists
// if there is another error we throw the exception, otherwise it is OK as we are simply reinstalling the plugin
- if(!ereg('1060',$e->getMessage()))
+ if(!preg_match('/1060/', $e->getMessage()))
{
throw $e;
}