Fix "url.match is not a function" error with integers in URL field
This commit is contained in:
parent
b1e9a83f4e
commit
24cd01e16f
1 changed files with 1 additions and 1 deletions
|
@ -553,7 +553,7 @@
|
|||
<body>
|
||||
<![CDATA[
|
||||
var url = this.item.getField('url');
|
||||
return url && !url.match(/^file:|^zotero:/);
|
||||
return url && url.match && !url.match(/^file:|^zotero:/);
|
||||
]]>
|
||||
</body>
|
||||
</method>
|
||||
|
|
Loading…
Reference in a new issue