mirror of
https://github.com/typecho/typecho.git
synced 2025-04-21 18:21:53 +02:00
Fix multiple calls returning the same object (#1478)
This commit is contained in:
parent
c03ee2c8be
commit
f07b57fe20
@ -59,7 +59,7 @@ class Helper
|
||||
|
||||
$key = $keys[$table];
|
||||
$db = Db::get();
|
||||
$widget = Widget::widget($className);
|
||||
$widget = Widget::widget($className . '@' . $pkId);
|
||||
|
||||
$db->fetchRow(
|
||||
$widget->select()->where("{$key} = ?", $pkId)->limit(1),
|
||||
|
Loading…
x
Reference in New Issue
Block a user