Rev 10 | Rev 12 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 10 | Rev 11 | ||
|---|---|---|---|
| Line 55... | Line 55... | ||
| 55 | {
|
55 | {
|
| 56 | if (!$sign) |
56 | if (!$sign) |
| 57 | {
|
57 | {
|
| 58 | $sign = ++$this->lastNumberSign; |
58 | $sign = ++$this->lastNumberSign; |
| 59 | }
|
59 | }
|
| - | 60 | else if (is_int($sign)) |
|
| - | 61 | {
|
|
| - | 62 | $this->lastNumberSign = $sign + 1; |
|
| - | 63 | }
|
|
| 60 | 64 | ||
| 61 | $footnotes[$name] = new Footnote($name, $sign, $text); |
65 | $footnotes[$name] = new Footnote($name, $sign, $text); |
| 62 | }
|
66 | }
|
| 63 | 67 | ||
| 64 | return $footnotes[$name]->getRef(); |
68 | return $footnotes[$name]->getRef(); |