Deprecated: Assigning the return value of new by reference is deprecated in /home/bluestat/public_html/source/index.php on line 477
hoplite - Commitdiff - ViewGit - Blue Static

Missing a set of ()

Robert Sesek [2011-08-08 02:21]
Missing a set of ()
diff --git a/data/controller.php b/data/controller.php
index 46706c1..b3eda1a 100644
--- a/data/controller.php
+++ b/data/controller.php
@@ -44,7 +44,7 @@ class Controller extends http\RestAction
   /*! Gets the data from the model. */
   public function DoGet(http\Request $request, http\Response $response)
   {
-    $this->model->SetFromarray_merge($request->data, $request->data['_GET']);
+    $this->model->SetFrom(array_merge($request->data, $request->data['_GET']));
     try {
       $response->data = $this->model->Fetch();
     } catch (ModelException $e) {