|
...
|
...
|
@@ -96,7 +96,7 @@ class Newscategory extends ManystoreBase |
|
|
|
} catch (PDOException $e) {
|
|
|
|
Db::rollback();
|
|
|
|
$this->error($e->getMessage());
|
|
|
|
} catch (Exception $e) {
|
|
|
|
} catch (\Exception $e) {
|
|
|
|
Db::rollback();
|
|
|
|
$this->error($e->getMessage());
|
|
|
|
}
|
|
...
|
...
|
@@ -148,7 +148,7 @@ class Newscategory extends ManystoreBase |
|
|
|
} catch (PDOException $e) {
|
|
|
|
Db::rollback();
|
|
|
|
$this->error($e->getMessage());
|
|
|
|
} catch (Exception $e) {
|
|
|
|
} catch (\Exception $e) {
|
|
|
|
Db::rollback();
|
|
|
|
$this->error($e->getMessage());
|
|
|
|
}
|
|
...
|
...
|
@@ -192,7 +192,7 @@ class Newscategory extends ManystoreBase |
|
|
|
} catch (PDOException $e) {
|
|
|
|
Db::rollback();
|
|
|
|
$this->error($e->getMessage());
|
|
|
|
} catch (Exception $e) {
|
|
|
|
} catch (\Exception $e) {
|
|
|
|
Db::rollback();
|
|
|
|
$this->error($e->getMessage());
|
|
|
|
}
|
...
|
...
|
|