Fixed problem related to incrementing NEXT_STRUCT_ID for a user that hasn't yet saved a layout. The solution was to only increment the ID if it got bigger.
Fixed problem related to incrementing NEXT_STRUCT_ID
for a user that hasn't yet saved a layout.
The solution was to only increment the ID if it got bigger.

For details, see bug 1369.

Thank, Michael Oltz, for fixing this.


git-svn-id: 477788cc2a8229a747c5b8073e47c1d0f6ec0604@7729 f5dbab47-78f9-eb45-b975-e544023573eb

EdiaEducationTechnology/uPortal,MichaelVose2/uPortal,ASU-Capstone/uPortal-Forked,phillips1021/uPortal,GIP-RECIA/esup-uportal,groybal/uPortal,kole9273/uPortal,andrewstuart/uPortal,jhelmer-unicon/uPortal,GIP-RECIA/esco-portail,ASU-Capstone/uPortal,groybal/uPortal,timlevett/uPortal,kole9273/uPortal,cousquer/uPortal,EsupPortail/esup-uportal,EdiaEducationTechnology/uPortal,jameswennmacher/uPortal,doodelicious/uPortal,apetro/uPortal,kole9273/uPortal,Jasig/uPortal,EdiaEducationTechnology/uPortal,ChristianMurphy/uPortal,drewwills/uPortal,ASU-Capstone/uPortal,Mines-Albi/esup-uportal,jhelmer-unicon/uPortal,andrewstuart/uPortal,timlevett/uPortal,vbonamy/esup-uportal,jameswennmacher/uPortal,groybal/uPortal,doodelicious/uPortal,GIP-RECIA/esup-uportal,Mines-Albi/esup-uportal,doodelicious/uPortal,vertein/uPortal,timlevett/uPortal,kole9273/uPortal,MichaelVose2/uPortal,bjagg/uPortal,jhelmer-unicon/uPortal,Jasig/SSP-Platform,groybal/uPortal,jhelmer-unicon/uPortal,joansmith/uPortal,vbonamy/esup-uportal,ChristianMurphy/uPortal,vbonamy/esup-uportal,Mines-Albi/esup-uportal,GIP-RECIA/esco-portail,apetro/uPortal,phillips1021/uPortal,joansmith/uPortal,Mines-Albi/esup-uportal,kole9273/uPortal,MichaelVose2/uPortal,jl1955/uPortal5,vbonamy/esup-uportal,chasegawa/uPortal,jameswennmacher/uPortal,mgillian/uPortal,ASU-Capstone/uPortal-Forked,apetro/uPortal,EsupPortail/esup-uportal,apetro/uPortal,MichaelVose2/uPortal,andrewstuart/uPortal,timlevett/uPortal,Jasig/SSP-Platform,groybal/uPortal,stalele/uPortal,pspaude/uPortal,mgillian/uPortal,jl1955/uPortal5,doodelicious/uPortal,phillips1021/uPortal,jameswennmacher/uPortal,GIP-RECIA/esup-uportal,stalele/uPortal,vertein/uPortal,ASU-Capstone/uPortal-Forked,bjagg/uPortal,Jasig/uPortal,vbonamy/esup-uportal,chasegawa/uPortal,jhelmer-unicon/uPortal,Mines-Albi/esup-uportal,GIP-RECIA/esup-uportal,bjagg/uPortal,Jasig/uPortal,cousquer/uPortal,EsupPortail/esup-uportal,pspaude/uPortal,stalele/uPortal,jameswennmacher/uPortal,drewwills/uPortal,doodelicious/uPortal,cousquer/uPortal,andrewstuart/uPortal,Jasig/uPortal-start,apetro/uPortal,pspaude/uPortal,jonathanmtran/uPortal,EsupPortail/esup-uportal,stalele/uPortal,jl1955/uPortal5,stalele/uPortal,EdiaEducationTechnology/uPortal,mgillian/uPortal,jl1955/uPortal5,drewwills/uPortal,jonathanmtran/uPortal,joansmith/uPortal,ASU-Capstone/uPortal,joansmith/uPortal,ASU-Capstone/uPortal-Forked,drewwills/uPortal,vertein/uPortal,EsupPortail/esup-uportal,pspaude/uPortal,phillips1021/uPortal,GIP-RECIA/esup-uportal,ASU-Capstone/uPortal,phillips1021/uPortal,chasegawa/uPortal,ASU-Capstone/uPortal,Jasig/uPortal-start,ChristianMurphy/uPortal,vertein/uPortal,Jasig/SSP-Platform,ASU-Capstone/uPortal-Forked,andrewstuart/uPortal,MichaelVose2/uPortal,jl1955/uPortal5,chasegawa/uPortal,Jasig/SSP-Platform,joansmith/uPortal,Jasig/SSP-Platform,GIP-RECIA/esco-portail,chasegawa/uPortal,jonathanmtran/uPortal