fix: triggers causing php fatal error if POST $value was empty

Signed-off-by: Stephen L. <lrq3000@gmail.com>