Ticket #2023 (closed Bugs: fixed)

Opened 6 years ago

Last modified 6 years ago

is_empty should be empty

Reported by: pnlarsson Assigned to:
Priority: major Milestone: 2.3
Component: Installation Version: 2.3-branch
Keywords: Cc:
Confirmation: Distro:
Backend Engine: All Distro Ver:
Backend Ver: SVN Revision (if applicable): 4221

Description

Fresh checkout of 2.3, when running ./install_amp

Fatal error: Call to undefined function is_empty() in /usr/src/freepbx_2.3/install_amp on line 666

and the fix:

Index: install_amp
===================================================================
--- install_amp (revision 4221)
+++ install_amp (arbetskopia)
@@ -663,7 +663,7 @@
        } while(1);

        // Really no need to ask, is there.
-       if (is_empty($fopwebroot))
+       if (empty($fopwebroot))
                $amp_conf["FOPWEBROOT"] = $amp_conf["AMPWEBROOT"];
        else
                $amp_conf["FOPWEBROOT"] = $fopwebroot;

Change History

06/26/07 08:26:04 changed by p_lindheimer

  • status changed from new to closed.
  • resolution set to fixed.