
252 S.E.2d 98 (1979)
40 N.C. App. 58
STATE of North Carolina
v.
Albert Vernon GRANT, Jr.
No. 784SC850.
Court of Appeals of North Carolina.
February 20, 1979.
Atty. Gen. Rufus L. Edmisten by Asst. Atty. Gen. Richard L. Griffin, Raleigh, for the State.
*99 William E. Brewer, Jr., Raleigh, for defendant-appellant.
WEBB, Judge.
The defendant argues first that the court erred in not charging the jury to scrutinize closely the testimony of Teachey who was an accomplice of the defendant. No request was made for such a charge. This being a subordinate feature of the case, the court was not required to charge on it absent such a request. 4 Strong, N.C. Index 3d, Criminal Law, § 117.4, p. 621. The defendant contends, however, that the court having charged as to how the jury should consider the testimony of Kennion which corroborated the testimony of Teachey, it was then required to charge the jury to scrutinize closely the testimony of the accomplice. Defendant relies on State v. Paige, 272 N.C. 417, 158 S.E.2d 522 (1968) for this proposition. In that case, the issue was whether the trial court properly admitted the police officer's testimony to corroborate accomplices of the defendant. In holding that the evidence was properly admitted, the Supreme Court noted that the superior court had properly charged the jury as to how to consider the accomplice's testimony. We do not find that it supports the argument advanced by defendant. This assignment of error is overruled.
The defendant also contends the court committed error in the charge when it stated a contention of the defendant as follows: "The defendant . . . realizes Charles Teachey is a young man who is susceptible to being influenced by older people . . . ." The defendant contends the use of the word "realizes" was tantamount to charging the defendant had admitted those facts. The defendant had testified that he realized Charles Teachey "would do about like I asked him to." We hold this was a fair recapitulation of the defendant's testimony.
The defendant's last assignment of error deals with the sentence imposed. The defendant was sentenced to 30 months, with 6 months to be served actively and 24 months to be suspended. The defendant was placed on probation after serving the 6 months. One condition of probation is that "upon request of any law enforcement officer, he shall consent to a search for stolen property of his person, the premise where he resides, or any vehicle in his possession, without first requiring such officer to obtain a search warrant, . . . ."
G.S. 15A-1343 provides:
(b) Appropriate Conditions.When placing a defendant on probation, the court may, as a condition of the probation, require that during the period of probation the defendant comply with one or more of the following conditions:
* * * * * *
(15) Submit at reasonable times to warrantless searches by a probation officer of his person, and of his vehicle and premises while he is present, for purposes reasonably related to his probation supervision. The court may not require as a condition of probation that the probationer submit to any other search that would otherwise be unlawful.
G.S. 15A-1343 was adopted as Chapter 711 of the 1977 Session Laws which says at section 39:
"This act shall become effective July 1, 1978, and applies to all matters addressed by its provisions without regard to when a defendant's guilt was established or when judgment was entered against him,. . . ."
As we read this statute, its effective date is 1 July 1978 and it applies to all judgments entered before that date. For that reason, the requirement that he submit to a search by any law enforcement officer without a warrant is invalid. We do not remand the case for resentencing, but hold that this provision of the suspended sentence shall not be enforced.
We note that by this provision of the criminal procedure act, prohibiting in a probation judgment the requirement that defendants allow searches by law enforcement officers without warrants, the General Assembly has struck down a tool that has *100 often been used by the courts. It will place a restriction on law enforcement officers. It is also important, we think, that in those cases in which the judge is wavering between an active or a suspended sentence, it might tip the scales in favor of an active sentence because the judge cannot impose the type sentence he feels is appropriate. The General Assembly may want to reconsider this provision.
Modified and affirmed.
PARKER and ARNOLD, JJ., concur.
