Aggiunto supporto per flushing cache articoli
git-svn-id: svn://10.65.10.50/branches/R_10_00@22785 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
4f8cb06a5e
commit
13e6a3fa82
@ -415,7 +415,11 @@ TCache_articoli::TCache_articoli()
|
|||||||
TArticolo& cached_article(const char* codart)
|
TArticolo& cached_article(const char* codart)
|
||||||
{
|
{
|
||||||
HIDDEN TCache_articoli __cache_articoli;
|
HIDDEN TCache_articoli __cache_articoli;
|
||||||
|
if (codart == NULL)
|
||||||
|
{
|
||||||
|
__cache_articoli.destroy();
|
||||||
|
codart = "";
|
||||||
|
}
|
||||||
return __cache_articoli.art(codart);
|
return __cache_articoli.art(codart);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user