Change newByDynamicClass calls that creept in back to newById, except for the ones in doc/upgrade. Kinda important.
This commit is contained in:
parent
57d2dbed56
commit
96bb194402
8 changed files with 11 additions and 11 deletions
|
|
@ -47,7 +47,7 @@ if ($url) {
|
|||
$asset = WebGUI::Asset->newByUrl($session,$url);
|
||||
}
|
||||
else {
|
||||
$asset = WebGUI::Asset->newByDynamicClass($session,$assetId);
|
||||
$asset = WebGUI::Asset->newById($session,$assetId);
|
||||
}
|
||||
|
||||
if (defined $asset) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue