mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
Fix bug in tutorial - missing return
This commit is contained in:
parent
6d91bf8bc4
commit
27f681c539
1
.gitignore
vendored
1
.gitignore
vendored
@ -116,3 +116,4 @@ nb-configuration.xml
|
||||
# Visual Studio Code
|
||||
.vscode/
|
||||
|
||||
/results/
|
@ -65,7 +65,7 @@ following code to your model.
|
||||
{
|
||||
if ($slug === false)
|
||||
{
|
||||
$this->findAll();
|
||||
return $this->findAll();
|
||||
}
|
||||
|
||||
return $this->asArray()
|
||||
|
Loading…
x
Reference in New Issue
Block a user