Fix "PHP Notice: Undefined offset: 1" bug

bug 73486

Change-Id: I25d13d1d20db8234f79e2cc7d9baa2bdde55fd73