dever 6 years ago
parent
commit
6859ffbc99
1 changed files with 1 additions and 1 deletions
  1. 1 1
      act/lib/Form.php

+ 1 - 1
act/lib/Form.php

@@ -25,7 +25,7 @@ class Form
         if ($info) {
             $key = array_rand($info);
             if (isset($info[$key])) {
-            	$update['where_id'] $info[$key]['id'];
+            	$update['where_id'] = $info[$key]['id'];
             	$update['num'] = $info[$key]['num'] + 1;
             	Dever::db('act/form_id')->update($update);
             	return $info[$key]['form_id'];