Fix rebuildall.php fatal error with PostgreSQL
authorlethosor <lethosor@gmail.com>
Sun, 26 Jan 2014 16:49:16 +0000 (11:49 -0500)
committerlethosor <lethosor@gmail.com>
Sun, 26 Jan 2014 17:42:07 +0000 (12:42 -0500)
commitafb297d175963d19735735c0283396a6cdcdf35a
tree54ecebca55392f344903dc23f6e8fd20d83da4eb
parent7b5f6a3e11ecd658742e696c39c950346b3edf97
Fix rebuildall.php fatal error with PostgreSQL

The fix for 47055 introduced a fatal error when running rebuildall.php. This
is a workaround suggested by gebhkla on Bugzilla (idle for 10+ days). It just
checks to make sure $options is actually an array before calling array_search
on it.

Bug: 60094
Change-Id: Ib54420b5a749c60b82a4757a9f5fa511f48fdb72
includes/db/DatabasePostgres.php