Page MenuHomePhabricator

Cite.patch

Authored By
bzimport
Nov 21 2014, 10:14 PM
Size
982 B
Referenced Files
None
Subscribers
None

Cite.patch

--- Cite.php 2008-07-19 06:57:36.000000000 -0400
+++ Cite.php 2008-07-19 06:57:21.000000000 -0400
@@ -130,7 +130,7 @@
# The key here is the "name" attribute.
list($key,$group) = $this->refArg( $argv );
- if( $str === '' ) {
+ if( $str === '' and $key === null ) {
# <ref ...></ref>. This construct is always invalid: either
# it's a contentful ref, or it's a named duplicate and should
# be <ref ... />.
--- Cite_body.php 2008-07-19 06:57:36.000000000 -0400
+++ Cite_body.php 2008-07-19 06:57:21.000000000 -0400
@@ -130,7 +130,7 @@
# The key here is the "name" attribute.
list($key,$group) = $this->refArg( $argv );
- if( $str === '' ) {
+ if( $str === '' and $key === null ) {
# <ref ...></ref>. This construct is always invalid: either
# it's a contentful ref, or it's a named duplicate and should
# be <ref ... />.

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4534
Default Alt Text
Cite.patch (982 B)

Event Timeline