mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
修正一处BUG
This commit is contained in:
@@ -2944,7 +2944,7 @@ class Query
|
||||
}
|
||||
}
|
||||
|
||||
if (isset(static::$readMaster['*']) || isset(static::$readMaster[$options['table']])) {
|
||||
if (isset(static::$readMaster['*']) || (is_string($options['table']) && isset(static::$readMaster[$options['table']]))) {
|
||||
$options['master'] = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user