fix var error

This commit is contained in:
wlx 2014-03-21 01:46:29 +00:00
parent 3ca3469e40
commit 3f2aa11842
1 changed files with 1 additions and 1 deletions

View File

@ -209,7 +209,7 @@ class ISO19115
//处理在线资源
if ($this->onlineresource) foreach($this->onlineresource as $resource)
{
if (isset($resource['name']) && resource['name'])
if (isset($resource['name']) && $resource['name'])
{
$sql="insert into onlineresource (uuid,linkage,protocol,name,description) values(?,?,?,?,?)";
$db->query($sql,array($this->uuid,$resource['linkage'],$resource['protocol'],$resource['name'],$resource['description']));