Skip to content

Commit

Permalink
Merge branch '8.x-1.x' into 7.x-1.x
Browse files Browse the repository at this point in the history
  • Loading branch information
cburschka committed Feb 19, 2012
2 parents 3fcd22d + 9a1ca48 commit 40f9bcf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion xbbcode.filter.inc
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,9 @@ class XBBCodeTagMatch {
$this->start = $regex_set[0][1];
$this->end = $regex_set[0][1] + strlen($regex_set[0][0]);
}

else {
$this->offset = 0;
}
$this->content = '';
}

Expand Down
2 changes: 1 addition & 1 deletion xbbcode.inc
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function _xbbcode_build_filter($filter, $format) {
* - the 'info' key contains the data returned by each module's hook.
*/
function _xbbcode_build_handlers() {
$module_names = xbbcode_module_names();
$module_names = _xbbcode_module_names();
$handlers = array();

foreach ($module_names as $module => $name) {
Expand Down

0 comments on commit 40f9bcf

Please sign in to comment.