Commit 66051f7
committed
minor #6399 Fixed wrong code examples for Isbn constraint (AAstakhov)
This PR was submitted for the 2.5 branch but it was merged into the 2.7 branch instead (closes #6399).
Discussion
----------
Fixed wrong code examples for Isbn constraint
| Q | A
| ------------- | ---
| Doc fix? | yes
| New docs? | no
| Applies to | 2.5+
| Fixed tickets | n/a
The example in the annotations code block causes an exception '[Semantical Error] Couldn't find constant isbn10'.
It happens because attribute values in annotation blocks must be quoted.
Additionally I fixed PHP code block to use quoted attribute also there
Commits
-------
503c07c Fixed wrong code examples for Isbn constraint1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
| 51 | + | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| |||
0 commit comments