Skip to content

Commit f9c31dc

Browse files
committed
Need to OR the type to save the result
0 & anything will always yeilds 0. The type needs to be or'ed with the current value
1 parent 28b6c5d commit f9c31dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extension.driver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ static public function appendHeaders($type) {
4242
$page->addScriptToHead(URL . '/extensions/textboxfield/assets/textboxfield.publish.js', null, false);
4343
}
4444

45-
self::$appendedHeaders &= $type;
45+
self::$appendedHeaders |= $type;
4646
}
4747
}
4848

0 commit comments

Comments
 (0)