mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-28 00:10:57 +01:00
STRICT_ALL_TABLES fix for a Herald column
Summary: Casting a PHP bool to a MySQL `TINYINT(1)`! Test Plan: This broke during arc diff; with this patch, arc diff now works! Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D4999
This commit is contained in:
parent
4f2aa99248
commit
16accb591c
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ final class HeraldEngine {
|
|||
assert_instances_of($effects, 'HeraldEffect');
|
||||
assert_instances_of($rules, 'HeraldRule');
|
||||
|
||||
$this->transcript->setDryRun($object instanceof HeraldDryRunAdapter);
|
||||
$this->transcript->setDryRun((int)($object instanceof HeraldDryRunAdapter));
|
||||
|
||||
$xscripts = $object->applyHeraldEffects($effects);
|
||||
foreach ($xscripts as $apply_xscript) {
|
||||
|
|
Loading…
Reference in a new issue