Commit 6a14a433 by doszhang

dos

parent 90567237
......@@ -44,7 +44,7 @@ class IndexController extends Controller
}
$name = $_POST['name'];
$business = $_POST['business'];
if($name)
if($name != '')
{
M('num')->where('id=1')->setInc('num');
M('info')->add(array(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment