Commit: 9ad92a595ac6f94f44a6d4255fb66d122544149f Author: Hannes Magnusson <bj...@mongodb.com> Fri, 21 Mar 2014 13:30:30 -0700 Parents: d754dbe23fddfe553f13c268468ad834106ee7d2 Branches: master
Link: http://git.php.net/?p=web/qa.git;a=commitdiff;h=9ad92a595ac6f94f44a6d4255fb66d122544149f Log: Avoid bunch of warnings.. its an optional argument defaulting to empty array :) Changed paths: M include/functions.php Diff: diff --git a/include/functions.php b/include/functions.php index 2a71dbf..05168bb 100644 --- a/include/functions.php +++ b/include/functions.php @@ -25,7 +25,7 @@ function common_header($extra_headers=NULL) { echo '<section class="fullscreen">'; } -function common_footer($JS) { +function common_footer($JS = array()) { echo "</section>"; include __DIR__ . "/../shared/templates/footer.inc"; } -- PHP Quality Assurance Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php