Commit:    d29f322838217e6824236af8dac6c1a9852b9d08
Author:    Kalle Sommer Nielsen <[email protected]>         Thu, 24 Aug 2017 
10:01:25 +0200
Parents:   43b45b690c191aa60cb7742be9eb2575a152203f
Branches:  master

Link:       
http://git.php.net/?p=web/bugs.git;a=commitdiff;h=d29f322838217e6824236af8dac6c1a9852b9d08

Log:
Fix the check to check the correct array

Changed paths:
  M  include/functions.php


Diff:
diff --git a/include/functions.php b/include/functions.php
index 13fa5d4..4ffe195 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -1968,7 +1968,7 @@ function backtrace_inline_menu($platform)
 
 function admin_table_static(array $header, array $rows)
 {
-       if (!$header || !$rows || sizeof($header) != sizeof($rows)) {
+       if (!$header || !$rows || sizeof($header) != sizeof($rows[0])) {
                return;
        }


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to