The mod in the volist label in Thinkphp controls the line feed of certain records. BUGBUG description: The Mod attribute of thinkphp2.0 is also used to control the line feed of certain records, for example: & lt; volistnamelistmod5 & gt; {$ vo. name} & lt; eqnamemodvalue4 & gt; & lt; br & gt; & lt Thinkphp
BUG description:
Thinkphp 2.0
The Mod attribute is also used to control the line feed of a certain record, for example:
{$ Vo. name}
---- Excerpted from the official manual ----
The actual execution result is
4 Records in the first row (one missing)
The second and subsequent rows are five records.
Modification comments:
ThinkPHP \ Lib \ Think \ Template \ TagLib \ TagLibCx. class. php
Line 107AndLine 108Location interchangeClick
Original code:
$ ParseStr. = '+ + $'. $ key .';';
$ ParseStr. = '$ mod = ($'. $ key. '%'. $ mod. ')?> ';
After modification:
$ ParseStr. = '$ mod = ($'. $ key. '%'. $ mod .');';
$ ParseStr. = '+ + $'. $ key. '?> ';