HOR-2917
This commit is contained in:
@@ -32,7 +32,15 @@ class p11835 extends patch
|
||||
|
||||
patch::$isPathchable = false;
|
||||
$con = Propel::getConnection("workflow");
|
||||
$stmt = $con->prepareStatement("describe TASK;");
|
||||
$stmt = $con->prepareStatement("SHOW TABLES LIKE 'TASK'");
|
||||
$rs = $stmt->executeQuery();
|
||||
$rs->next();
|
||||
$row = $rs->getRow();
|
||||
if (empty($row) === true) {
|
||||
return patch::$isPathchable;
|
||||
}
|
||||
|
||||
$stmt = $con->prepareStatement("DESCRIBE TASK");
|
||||
$rs = $stmt->executeQuery();
|
||||
$rs->next();
|
||||
while ($row = $rs->getRow()) {
|
||||
|
||||
Reference in New Issue
Block a user