点击登录的时候总是提示下面错误:
Fatal error: Cannot use object of type publisher as array in D:\wwwroot\web\controller\publisher\login.php on line 4443行    if( $publisher->publisherLogin($record['username'],$record['password']) ){
44行    $_SESSION['publisher']['username'] = $record['username'];
45行    $_SESSION['publisher']['id'] = $record['publisher_id'];
46行    $_SESSION['publisher']['email'] = $record['email'];从网上查到应该是对象为空,不能当做数组使用,请教各位高手怎么把对象改为数组呢,万分感谢!
还有个疑惑郁闷的问题是在另一个机器的环境上(用的是php5.3)就不报错,我用的是php5.2.6版本