|
|
@@ -123,9 +123,9 @@ class ocean_booking {
|
|
|
private function _booking_search() {
|
|
|
$cp = common::check_input($_POST ['cp']); //current_page
|
|
|
$ps = common::check_input($_POST ['ps']); //ps
|
|
|
- if (empty($ps))
|
|
|
+ if (empty($ps)){
|
|
|
$ps = 50;
|
|
|
-
|
|
|
+ }
|
|
|
$sqlWhere = ' where ' . common::searchExtendHandNew("booking", $_SESSION["ONLINE_USER"]);
|
|
|
$sqlWhere .= search::getInstance()->getSearchSQL("Booking_Search");
|
|
|
|
|
|
@@ -174,7 +174,6 @@ class ocean_booking {
|
|
|
$sqlWhere .= " and ($more_sql)";
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
$rc = $_POST ['rc'];
|
|
|
//这里都要查询,除非多传几个参数回来
|
|
|
if ($rc == - 1 || true) {
|