Quantcast
Channel:
Viewing all articles
Browse latest Browse all 4235

Re: Empty ClassName is built every time

$
0
0

Thanks this solved the problem. However I needed to change the code a bit. I did'nt get any result with ClassName='' . I used ClassName = 0 instead (since the columns where enums).

UPDATE SiteTree SET ClassName='Page' WHERE ClassName = 0;
UPDATE SiteTree_Live SET ClassName='Page' WHERE ClassName = 0;
UPDATE SiteTree_versions SET ClassName='Page' WHERE ClassName = 0;
UPDATE File SET ClassName = 'File' WHERE ClassName = 0;


Posted to: Empty ClassName is built every time | Show Thread | Post Reply


Viewing all articles
Browse latest Browse all 4235

Trending Articles