fix BE error
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2328081 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
parent
a8cfa83ca3
commit
973e77debf
1 changed files with 2 additions and 0 deletions
|
@ -337,6 +337,8 @@ class MCI_Footnotes_Task {
|
||||||
// search footnotes short codes in the content
|
// search footnotes short codes in the content
|
||||||
do {
|
do {
|
||||||
// get first occurrence of the footnote short code [start]
|
// get first occurrence of the footnote short code [start]
|
||||||
|
$i_int_len_Content = strlen($p_str_Content);
|
||||||
|
if ($l_int_PosStart > $i_int_len_Content) $l_int_PosStart = $i_int_len_Content;
|
||||||
$l_int_PosStart = strpos($p_str_Content, $l_str_StartingTag, $l_int_PosStart);
|
$l_int_PosStart = strpos($p_str_Content, $l_str_StartingTag, $l_int_PosStart);
|
||||||
// no short code found, stop here
|
// no short code found, stop here
|
||||||
if ($l_int_PosStart === false) {
|
if ($l_int_PosStart === false) {
|
||||||
|
|
Reference in a new issue