rabin 2 years ago
parent
commit
dc7f4abacf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/Manage.php

+ 1 - 1
lib/Manage.php

@@ -37,7 +37,7 @@ class Manage
 		$type = Dever::param('type', $param);
 		$type = Dever::param('type', $param);
 
 
 		if ($type == 1) {
 		if ($type == 1) {
-			Dever::db('score/config')->set(array('type' => 2));
+			Dever::db('score/config')->updates(array('type' => 2));
 			Dever::db('score/config')->update(array('where_id' => $id, 'type' => 1));
 			Dever::db('score/config')->update(array('where_id' => $id, 'type' => 1));
 		}
 		}
 	}
 	}