]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Circle.php
Merge pull request #13800 from annando/channel-languages
[friendica.git] / src / Module / Circle.php
index e2b6f8977891284303edae82f6a5719d3b4420ba..98a29411d3cc91d06410454781c42d2ff4b728f8 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2023, the Friendica project
+ * @copyright Copyright (C) 2010-2024, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -135,7 +135,7 @@ class Circle extends BaseModule
                        $this->jsonExit(['status' => 'OK', 'message' => $message]);
                } catch (\Exception $e) {
                        DI::sysmsg()->addNotice($e->getMessage());
-                       System::jsonError($e->getCode(), ['status' => 'error', 'message' => $e->getMessage()]);
+                       $this->jsonError($e->getCode(), ['status' => 'error', 'message' => $e->getMessage()]);
                }
        }