Browse Source

Was I really in such a hurry?

Brendan Abolivier 9 years ago
parent
commit
a399f98076
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      controllers/document.php

+ 2
- 1
controllers/document.php View File

@@ -44,7 +44,8 @@ function alter_document($documentid)
44 44
     $param = $params;
45 45
     $putParams[strstr($param, "=", true)] = substr(strstr($param, "="), 1);
46 46
 
47
-    var_dump($putParams);
47
+    $doc->changePromo($putParams["promo"]);
48
+    $doc->changeRank($putParams["rang"]);
48 49
 }
49 50
 
50 51
 function delete_document($fileid)