Skip to content

Commit 1c64477

Browse files
committed
Fix header_add parameter to page constructor.
See #2
1 parent 70653fb commit 1c64477

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

EmbAJAX.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,7 @@ template<size_t NUM> class EmbAJAXPage : public EmbAJAXContainer<NUM> {
676676
* @param header_add literal text (may be 0) to be added to the header, e.g. CSS (linked or in-line). This string is not copied, please do not use a temporary string). */
677677
EmbAJAXPage(EmbAJAXBase* children[NUM], const char* title, const char* header_add = 0) : EmbAJAXContainer<NUM>(children) {
678678
_title = title;
679-
_header_add = 0;
679+
_header_add = header_add;
680680
}
681681
/** Serve the page including headers and all child elements. You should arrange for this function to be called, whenever
682682
* there is a GET request to the desired URL. */

0 commit comments

Comments
 (0)