|
@@ -158,16 +158,12 @@ class Database
|
|
|
private function getUrlParam($key, $table, $suffix, $state)
|
|
|
{
|
|
|
$param = '';
|
|
|
- $oper = '';
|
|
|
$array = array('project', 'add', 'list', 'update');
|
|
|
if (in_array($key, $array)) {
|
|
|
-
|
|
|
$oper = Dever::preInput('oper_');
|
|
|
if ($oper) {
|
|
|
$param .= '&' . http_build_query($oper);
|
|
|
- }
|
|
|
-
|
|
|
- if (!$oper) {
|
|
|
+ } else {
|
|
|
$where = Dever::preInput('search_');
|
|
|
if ($where) {
|
|
|
if (isset($where['where_id'])) {
|