2 Комити 6765de9364 ... da7693b731

Аутор SHA1 Порука Датум
  Thomas Thümmler da7693b731 minor пре 8 месеци
  Thomas Thümmler 82ffba249e fixed php syntax for string length пре 8 месеци
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      public/index.php

+ 3 - 3
public/index.php

@@ -12,7 +12,7 @@
     <iframe src="navbar.html" onload="this.before((this.contentDocument.body||this.contentDocument).children[0]);this.remove()"></iframe>
     <br>
     <center>
-      <h1>Checklist for remote analysis shifts (2023-09-07-B01)</h1>
+      <h1>Checklist for remote analysis shifts (2023-09-07-B02)</h1>
       <p style="color:#eb4670"> If you have questions, problems, or findings regarding the remote analysis shift, write into the <a href="https://iap-katrin-chat.iap.kit.edu/channel/remote.monitoring" target="_blank">#remote.monitoring</a> group on RocketChat</p>
       <p> To summarise the week for the general KATRIN call you can find a presentation template <a href="https://docs.google.com/presentation/d/1Fj3TjNkry1fAC94sEvml2LyvrICDhh_e7i75_7pimqk/template/preview" target="_blank">here</a></p>
     </center>
@@ -85,7 +85,7 @@
             {
                 $colname=$result->columnName($i);
                 $colname = str_replace('_', ' ', $colname);
-                if ($tableName.length < 5 || $i != 11) // column 11 = LARA, which is skipped since KNM10 (length 5, KNM9 and before length 4)
+                if (strlen($tableName) < 5 || $i != 11) // column 11 = LARA, which is skipped since KNM10 (length 5, KNM9 and before length 4)
                 {  
                   if ($i < 5){
                     echo "<th>$colname</th>";
@@ -114,7 +114,7 @@
                       // store most recent entry (row=0) of latest campaign (index=0) for display in checklist.php
                     }
 
-                    if ($tableName.length < 5 || $i != 11) // skip column 11 = LARA, which is true since KNM10 (length 5, KNM9 and before length 4)
+                    if (strlen($tableName) < 5 || $i != 11) // skip column 11 = LARA, which is true since KNM10 (length 5, KNM9 and before length 4)
                     {
                       if ($value == "good"){
                         echo "<th id='green'>$value</th>";