$info_course = yes;
if [$info_course[0] == "yes"];
then echo "<i class="icon-ok"></i>" ; ?>
Warning: Undefined variable $info_course in /in/OtLVM on line 6
Warning: Trying to access array offset on null in /in/OtLVM on line 6
then echo "<i class="icon-remove"></i>" ;
?>
$info_course = yes;
if [$info_course[0] == "yes"];
then echo "<i class="icon-ok"></i>" ; ?>
Warning: Undefined variable $info_course in /in/OtLVM on line 6
Warning: Trying to access array offset on value of type null in /in/OtLVM on line 6
then echo "<i class="icon-remove"></i>" ;
?>
Output for 7.4.0 - 7.4.33
$info_course = yes;
if [$info_course[0] == "yes"];
then echo "<i class="icon-ok"></i>" ; ?>
Notice: Undefined variable: info_course in /in/OtLVM on line 6
Notice: Trying to access array offset on value of type null in /in/OtLVM on line 6
then echo "<i class="icon-remove"></i>" ;
?>
Output for 7.3.32 - 7.3.33
$info_course = yes;
if [$info_course[0] == "yes"];
then echo "<i class="icon-ok"></i>" ; ?>
then echo "<i class="icon-remove"></i>" ;
?>
$info_course = yes;
if [$info_course[0] == "yes"];
then echo "<i class="icon-ok"></i>" ; ?>
Notice: Undefined variable: info_course in /in/OtLVM on line 6
then echo "<i class="icon-remove"></i>" ;
?>
$info_course = yes;
if [$info_course[0] == "yes"];
then echo "<i class="icon-ok"></i>" ; ?>
Notice: Undefined variable: info_course in /in/OtLVM on line 6
then echo "<i class="icon-remove"></i>" ;
?>