fix var error
This commit is contained in:
parent
3ca3469e40
commit
3f2aa11842
|
@ -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']));
|
||||
|
|
Loading…
Reference in New Issue